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 Type
    Method
    Description
    Restricts this selector's target(s) to a depth that satisfies the given predicate.
  • Method Details

    • atDepth

      Restricts this selector's target(s) to a depth that satisfies the given predicate.
      Parameters:
      predicate - specifying the depth
      Returns:
      selector restricted to the specified depth
      Since:
      2.14.0