Interface TrimTree
- All Superinterfaces:
MutationPolicy
- All Known Implementing Classes:
ImmutableTrimTree
Ensure no tree will have a greater depth than allowed
By default it will use the depth as specified in the Program definition, but that can be overriden
-
Method Details
-
maxDepth
Override the max depth to enforce- Returns:
-
check
@Check default void check() -
of
Build a TrimTree enforcing a specific max depth- Parameters:
maxDepth
-- Returns:
-
build
Build a TrimTree using the default max depth as specified in the Program- Returns:
-