Package com.vladsch.flexmark.util.ast
Class DescendantNodeIterable
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.DescendantNodeIterable
-
- All Implemented Interfaces:
com.vladsch.flexmark.util.collection.iteration.ReversibleIterable<Node>,com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node>,Iterable<Node>
public class DescendantNodeIterable extends Object implements com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node>
-
-
Constructor Summary
Constructors Constructor Description DescendantNodeIterable(@NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node> iterable)iterate nodes, with descendants, depth first until all are done
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
forEach, spliterator
-
-
-
-
Constructor Detail
-
DescendantNodeIterable
public DescendantNodeIterable(@NotNull @NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterable<Node> iterable)iterate nodes, with descendants, depth first until all are done- Parameters:
iterable- node iterable to use for iterating nodes and their descendants
-
-
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()
-
reversedIterator
@NotNull public @NotNull com.vladsch.flexmark.util.collection.iteration.ReversiblePeekingIterator<Node> reversedIterator()
-
isReversed
public boolean isReversed()
- Specified by:
isReversedin interfacecom.vladsch.flexmark.util.collection.iteration.ReversibleIterable<Node>
-
-