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 Detail
-
traverse
void traverse()
-
traverse
default void traverse(Object instance)
-
traverseAll
void traverseAll(Object[] instances)
-
traverse
<A extends TraversalAcceptor> A traverse(A acceptor)
-
traverse
<M extends TraversalMutator> M traverse(M acceptor)
-
traverse
default <A extends TraversalAcceptor> A traverse(Object instance, A acceptor)
-
traverse
default <M extends TraversalMutator> M traverse(Object instance, M acceptor)
-
traverseAll
<A extends TraversalAcceptor> A traverseAll(Object[] instances, A acceptor)
-
traverseAll
<M extends TraversalMutator> M traverseAll(Object[] instances, M mutator)
-
signalAbortTraversal
static void signalAbortTraversal() throws TraversalSignalAbort
- Throws:
TraversalSignalAbort
-
Builder
static ObjectGraphTraverserBuilder 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)
-
-