Package com.vladsch.flexmark.util.ast
Class NodeIterable
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.NodeIterable
-
- All Implemented Interfaces:
com.vladsch.flexmark.util.collection.iteration.ReversibleIterable<Node>,com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node>,Iterable<Node>
public class NodeIterable extends Object implements com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node>
-
-
Constructor Summary
Constructors Constructor Description NodeIterable(Node firstNode, Node lastNode, boolean reversed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforEach(Consumer<? super Node> consumer)booleanisReversed()@NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterator<Node>iterator()@NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node>reversed()@NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterator<Node>reversedIterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
spliterator
-
-
-
-
Field Detail
-
EMPTY
public static final com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node> EMPTY
-
-
Method Detail
-
iterator
@NotNull public @NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterator<Node> iterator()
-
reversed
@NotNull public @NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node> reversed()
-
isReversed
public boolean isReversed()
- Specified by:
isReversedin interfacecom.vladsch.flexmark.util.collection.iteration.ReversibleIterable<Node>
-
reversedIterator
@NotNull public @NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterator<Node> reversedIterator()
-
-