public abstract class ComponentAstSpliteratorStrategy extends Object implements Spliterator<ComponentAst>
ComponentAstSpliteratorStrategy that navigates the whole AST using a AstTraversalDirection direction.Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED| Constructor and Description |
|---|
ComponentAstSpliteratorStrategy(ComponentAst component,
AstTraversalDirection direction) |
| Modifier and Type | Method and Description |
|---|---|
int |
characteristics() |
long |
estimateSize() |
boolean |
tryAdvance(Consumer<? super ComponentAst> action) |
protected abstract boolean |
tryAdvanceAfterChildrenConsumed(Consumer<? super ComponentAst> action) |
protected abstract boolean |
tryAdvanceBeforeChildrenConsumed(Consumer<? super ComponentAst> action) |
protected boolean |
tryAdvanceOverComponentAst(Consumer<? super ComponentAst> action) |
Spliterator<ComponentAst> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristicspublic ComponentAstSpliteratorStrategy(ComponentAst component, AstTraversalDirection direction)
protected abstract boolean tryAdvanceBeforeChildrenConsumed(Consumer<? super ComponentAst> action)
protected abstract boolean tryAdvanceAfterChildrenConsumed(Consumer<? super ComponentAst> action)
protected boolean tryAdvanceOverComponentAst(Consumer<? super ComponentAst> action)
public boolean tryAdvance(Consumer<? super ComponentAst> action)
tryAdvance in interface Spliterator<ComponentAst>public Spliterator<ComponentAst> trySplit()
trySplit in interface Spliterator<ComponentAst>public long estimateSize()
estimateSize in interface Spliterator<ComponentAst>public int characteristics()
characteristics in interface Spliterator<ComponentAst>Copyright © 2022 MuleSoft, Inc.. All rights reserved.