Package org.instancio
Interface DepthPredicateSelector
- All Known Subinterfaces:
FieldSelectorBuilder
,PredicateSelector
,TypeSelectorBuilder
public interface DepthPredicateSelector
Allows specifying target depth using as a predicate.
- Since:
- 2.14.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRestricts this selector's target(s) to a depth that satisfies the givenpredicate
.
-
Method Details
-
atDepth
Restricts this selector's target(s) to a depth that satisfies the givenpredicate
.- Parameters:
predicate
- specifying the depth- Returns:
- selector restricted to the specified depth
- Since:
- 2.14.0
-