Package one.microstream.util.traversing
Class TraversalFilter.Default<P extends TraversalPredicate>
- java.lang.Object
-
- one.microstream.util.traversing.TraversalFilter.Default<P>
-
- All Implemented Interfaces:
TraversalFilter<P>
- Enclosing interface:
- TraversalFilter<P extends TraversalPredicate>
public static final class TraversalFilter.Default<P extends TraversalPredicate> extends Object implements TraversalFilter<P>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.util.traversing.TraversalFilter
TraversalFilter.Default<P extends TraversalPredicate>
-
-
Constructor Summary
Constructors Constructor Description Default(ObjectGraphTraverserBuilder builder)
-
Method Summary
Modifier and Type Method Description ObjectGraphTraverserBuilder
builder()
ObjectGraphTraverserBuilder
custom(Predicate<Object> customPredicate)
Predicate<Object>
customPredicate()
XSet<Object>
instances()
boolean
isEmpty()
P
predicate()
ObjectGraphTraverserBuilder
setPredicate(P predicate)
XSet<Class<?>>
types()
XEnum<Class<?>>
typesPolymorphic()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.util.traversing.TraversalFilter
instance, instances, instances, type, typePolymorphic, types, types, typesPolymorphic, typesPolymorphic
-
-
-
-
Constructor Detail
-
Default
public Default(ObjectGraphTraverserBuilder builder)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceTraversalFilter<P extends TraversalPredicate>
-
builder
public ObjectGraphTraverserBuilder builder()
- Specified by:
builder
in interfaceTraversalFilter<P extends TraversalPredicate>
-
instances
public XSet<Object> instances()
- Specified by:
instances
in interfaceTraversalFilter<P extends TraversalPredicate>
-
types
public XSet<Class<?>> types()
- Specified by:
types
in interfaceTraversalFilter<P extends TraversalPredicate>
-
typesPolymorphic
public XEnum<Class<?>> typesPolymorphic()
- Specified by:
typesPolymorphic
in interfaceTraversalFilter<P extends TraversalPredicate>
-
predicate
public P predicate()
- Specified by:
predicate
in interfaceTraversalFilter<P extends TraversalPredicate>
-
customPredicate
public Predicate<Object> customPredicate()
- Specified by:
customPredicate
in interfaceTraversalFilter<P extends TraversalPredicate>
-
setPredicate
public ObjectGraphTraverserBuilder setPredicate(P predicate)
- Specified by:
setPredicate
in interfaceTraversalFilter<P extends TraversalPredicate>
-
custom
public ObjectGraphTraverserBuilder custom(Predicate<Object> customPredicate)
- Specified by:
custom
in interfaceTraversalFilter<P extends TraversalPredicate>
-
-