Package one.microstream.util.traversing
Interface ObjectGraphTraverser
- All Known Implementing Classes:
ObjectGraphTraverser.Default
public interface ObjectGraphTraverser
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ObjectGraphTraverser.Default
-
Method Summary
Modifier and Type Method Description static ObjectGraphTraverserBuilder
Builder()
static ObjectGraphTraverser
New(Object[] roots, XGettingCollection<Object> skipped, Function<XGettingCollection<Object>,XSet<Object>> alreadyHandledProvider, TraversalReferenceHandlerProvider referenceHandlerProvider, TypeTraverserProvider traverserProvider, TraversalPredicateSkip predicateSkip, TraversalPredicateNode predicateNode, TraversalPredicateLeaf predicateLeaf, TraversalPredicateFull predicateFull, Predicate<Object> predicateHandle, TraversalAcceptor traversalAcceptor, TraversalMutator traversalMutator, MutationListener mutationListener, TraversalMode traversalMode, Runnable initializerLogic, Runnable finalizerLogic)
static void
signalAbortTraversal()
void
traverse()
<A extends TraversalAcceptor>
Atraverse(A acceptor)
default void
traverse(Object instance)
default <A extends TraversalAcceptor>
Atraverse(Object instance, A acceptor)
default <C extends Consumer<Object>>
Ctraverse(Object instance, C logic)
default <F extends Function<Object, Object>>
Ftraverse(Object instance, F logic)
default <M extends TraversalMutator>
Mtraverse(Object instance, M acceptor)
<M extends TraversalMutator>
Mtraverse(M acceptor)
void
traverseAll(Object[] instances)
<A extends TraversalAcceptor>
AtraverseAll(Object[] instances, A acceptor)
<M extends TraversalMutator>
MtraverseAll(Object[] instances, M mutator)
-
Method Details
-
traverse
void traverse() -
traverse
-
traverseAll
-
traverse
-
traverse
-
traverse
-
traverse
-
traverse
-
traverse
-
traverseAll
-
traverseAll
-
signalAbortTraversal
- Throws:
TraversalSignalAbort
-
Builder
-
New
static ObjectGraphTraverser New(Object[] roots, XGettingCollection<Object> skipped, Function<XGettingCollection<Object>,XSet<Object>> alreadyHandledProvider, TraversalReferenceHandlerProvider referenceHandlerProvider, TypeTraverserProvider traverserProvider, TraversalPredicateSkip predicateSkip, TraversalPredicateNode predicateNode, TraversalPredicateLeaf predicateLeaf, TraversalPredicateFull predicateFull, Predicate<Object> predicateHandle, TraversalAcceptor traversalAcceptor, TraversalMutator traversalMutator, MutationListener mutationListener, TraversalMode traversalMode, Runnable initializerLogic, Runnable finalizerLogic)
-