Class NodeIterator<N extends Node>
java.lang.Object
com.vladsch.flexmark.tree.iteration.MappedIterator<Node,N>
com.vladsch.flexmark.tree.iteration.NodeIterator<N>
-
Field Summary
Fields inherited from class MappedIterator
myAdapter, myElement, myTreeIterator -
Constructor Summary
ConstructorsConstructorDescriptionNodeIterator(@NotNull Node element, @NotNull ValueIterationAdapter<? super Node, N> adapter, @NotNull TreeIterator<Node> treeIterator) -
Method Summary
Modifier and TypeMethodDescription@NotNull NodeIterator<N> aborted()@NotNull NodeIterator<N> acceptFilter(@NotNull ValueIterationFilter<? super N> filter) <F extends Node>
@NotNull NodeIterator<F> adapt(@NotNull ValueIterationAdapter<? super N, F> adapter) <F extends Node>
@NotNull NodeIterator<F> <F extends Node>
@NotNull NodeIterator<F> <F extends Node>
@NotNull NodeIterator<F> @NotNull NodeIterator<N> @NotNull NodeIterator<N> @NotNull NodeIterator<N> @NotNull NodeIterator<N> <F extends Node>
@NotNull NodeIterator<N> @NotNull NodeIterator<N> @NotNull NodeIterator<N> @NotNull NodeIterator<N> getModifiedCopy(Node element, ValueIterationAdapter<? super Node, N> adapter, TreeIterator<Node> treeIterator) <F extends Node>
@NotNull NodeIterator<F> getModifiedCopyF(Node element, ValueIterationAdapter<? super Node, F> adapter, TreeIterator<Node> treeIterator) @NotNull NodeIterator<N> @NotNull NodeIterator<N> nonRecursive(boolean nonRecursive) @NotNull NodeIterator<N> <F extends Node>
@NotNull NodeIterator<N> @NotNull NodeIterator<N> static NodeIterator<Node> of(@NotNull Node element, @NotNull IterationConditions<Node> constraints) static NodeIterator<Node> of(@NotNull Node element, @NotNull IterationConditions<Node> constraints, @NotNull Predicate<? super Node> filter) static NodeIterator<Node> of(@NotNull Node element, @NotNull IterationConditions<Node> constraints, @NotNull Predicate<? super Node> filter, @NotNull Predicate<? super Node> recursion) static NodeIterator<Node> of(@NotNull Node element, @NotNull TreeIterator<Node> treeIterator) @NotNull NodeIterator<N> <F extends Node>
@NotNull NodeIterator<N> @NotNull NodeIterator<N> @NotNull NodeIterator<N> @NotNull NodeIterator<N> @NotNull NodeIterator<N> recursive(boolean recursive) @NotNull NodeIterator<N> reversed()@NotNull MappedIterator<Object, Node> Methods inherited from class MappedIterator
create, doLoop, doLoop, getTreeIterator, toObjectMapped
-
Constructor Details
-
NodeIterator
public NodeIterator(@NotNull @NotNull Node element, @NotNull @NotNull ValueIterationAdapter<? super Node, N> adapter, @NotNull @NotNull TreeIterator<Node> treeIterator)
-
-
Method Details
-
getModifiedCopy
@NotNull public @NotNull NodeIterator<N> getModifiedCopy(Node element, ValueIterationAdapter<? super Node, N> adapter, TreeIterator<Node> treeIterator) - Overrides:
getModifiedCopyin classMappedIterator<Node, N extends Node>
-
getModifiedCopyF
@NotNull public <F extends Node> @NotNull NodeIterator<F> getModifiedCopyF(Node element, ValueIterationAdapter<? super Node, F> adapter, TreeIterator<Node> treeIterator) - Overrides:
getModifiedCopyFin classMappedIterator<Node, N extends Node>
-
reversed
- Overrides:
reversedin classMappedIterator<Node, N extends Node>
-
recursive
- Overrides:
recursivein classMappedIterator<Node, N extends Node>
-
nonRecursive
- Overrides:
nonRecursivein classMappedIterator<Node, N extends Node>
-
recursive
- Overrides:
recursivein classMappedIterator<Node, N extends Node>
-
nonRecursive
- Overrides:
nonRecursivein classMappedIterator<Node, N extends Node>
-
recurse
@NotNull public @NotNull NodeIterator<N> recurse(@NotNull @NotNull Predicate<? super Node> predicate) - Overrides:
recursein classMappedIterator<Node, N extends Node>
-
recurse
- Overrides:
recursein classMappedIterator<Node, N extends Node>
-
recurse
@NotNull public <F extends Node> @NotNull NodeIterator<N> recurse(@NotNull @NotNull Class<F> clazz, @NotNull @NotNull Predicate<? super F> predicate) - Overrides:
recursein classMappedIterator<Node, N extends Node>
-
noRecurse
@NotNull public @NotNull NodeIterator<N> noRecurse(@NotNull @NotNull Predicate<? super Node> predicate) - Overrides:
noRecursein classMappedIterator<Node, N extends Node>
-
noRecurse
- Overrides:
noRecursein classMappedIterator<Node, N extends Node>
-
noRecurse
@NotNull public <F extends Node> @NotNull NodeIterator<N> noRecurse(@NotNull @NotNull Class<F> clazz, @NotNull @NotNull Predicate<? super F> predicate) - Overrides:
noRecursein classMappedIterator<Node, N extends Node>
-
filterFalse
- Overrides:
filterFalsein classMappedIterator<Node, N extends Node>
-
aborted
- Overrides:
abortedin classMappedIterator<Node, N extends Node>
-
filterOut
@NotNull public @NotNull NodeIterator<N> filterOut(@NotNull @NotNull Predicate<? super Node> predicate) - Overrides:
filterOutin classMappedIterator<Node, N extends Node>
-
filterOut
- Overrides:
filterOutin classMappedIterator<Node, N extends Node>
-
filterOut
@NotNull public <F extends Node> @NotNull NodeIterator<N> filterOut(@NotNull @NotNull Class<F> clazz, @NotNull @NotNull Predicate<? super F> predicate) - Overrides:
filterOutin classMappedIterator<Node, N extends Node>
-
filter
@NotNull public @NotNull NodeIterator<N> filter(@NotNull @NotNull Predicate<? super Node> predicate) - Overrides:
filterin classMappedIterator<Node, N extends Node>
-
acceptFilter
@NotNull public @NotNull NodeIterator<N> acceptFilter(@NotNull @NotNull ValueIterationFilter<? super N> filter) - Overrides:
acceptFilterin classMappedIterator<Node, N extends Node>
-
filter
- Overrides:
filterin classMappedIterator<Node, N extends Node>
-
filter
@NotNull public <F extends Node> @NotNull NodeIterator<F> filter(@NotNull @NotNull Class<F> clazz, @NotNull @NotNull Predicate<? super F> predicate) - Overrides:
filterin classMappedIterator<Node, N extends Node>
-
adapt
@NotNull public <F extends Node> @NotNull NodeIterator<F> adapt(@NotNull @NotNull Function<? super N, F> adapter) - Overrides:
adaptin classMappedIterator<Node, N extends Node>
-
adapt
@NotNull public <F extends Node> @NotNull NodeIterator<F> adapt(@NotNull @NotNull ValueIterationAdapter<? super N, F> adapter) - Overrides:
adaptin classMappedIterator<Node, N extends Node>
-
recurse
@NotNull public @NotNull NodeIterator<N> recurse(@NotNull @NotNull Set<Class<? super Node>> nodeClassSet) -
filterOut
@NotNull public @NotNull NodeIterator<N> filterOut(@NotNull @NotNull Set<Class<? super Node>> nodeClassSet) -
filter
@NotNull public @NotNull NodeIterator<N> filter(@NotNull @NotNull Set<Class<? super Node>> nodeClassSet) -
toNodeObjectMapped
-
of
public static NodeIterator<Node> of(@NotNull @NotNull Node element, @NotNull @NotNull TreeIterator<Node> treeIterator) -
of
public static NodeIterator<Node> of(@NotNull @NotNull Node element, @NotNull @NotNull IterationConditions<Node> constraints) -
of
public static NodeIterator<Node> of(@NotNull @NotNull Node element, @NotNull @NotNull IterationConditions<Node> constraints, @NotNull @NotNull Predicate<? super Node> filter) -
of
public static NodeIterator<Node> of(@NotNull @NotNull Node element, @NotNull @NotNull IterationConditions<Node> constraints, @NotNull @NotNull Predicate<? super Node> filter, @NotNull @NotNull Predicate<? super Node> recursion)
-