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 com.vladsch.flexmark.tree.iteration.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 com.vladsch.flexmark.tree.iteration.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:
getModifiedCopy
in 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:
getModifiedCopyF
in classMappedIterator<Node,
N extends Node>
-
reversed
- Overrides:
reversed
in classMappedIterator<Node,
N extends Node>
-
recursive
- Overrides:
recursive
in classMappedIterator<Node,
N extends Node>
-
nonRecursive
- Overrides:
nonRecursive
in classMappedIterator<Node,
N extends Node>
-
recursive
- Overrides:
recursive
in classMappedIterator<Node,
N extends Node>
-
nonRecursive
- Overrides:
nonRecursive
in classMappedIterator<Node,
N extends Node>
-
recurse
@NotNull public @NotNull NodeIterator<N> recurse(@NotNull @NotNull Predicate<? super Node> predicate) - Overrides:
recurse
in classMappedIterator<Node,
N extends Node>
-
recurse
- Overrides:
recurse
in 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:
recurse
in classMappedIterator<Node,
N extends Node>
-
noRecurse
@NotNull public @NotNull NodeIterator<N> noRecurse(@NotNull @NotNull Predicate<? super Node> predicate) - Overrides:
noRecurse
in classMappedIterator<Node,
N extends Node>
-
noRecurse
- Overrides:
noRecurse
in 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:
noRecurse
in classMappedIterator<Node,
N extends Node>
-
filterFalse
- Overrides:
filterFalse
in classMappedIterator<Node,
N extends Node>
-
aborted
- Overrides:
aborted
in classMappedIterator<Node,
N extends Node>
-
filterOut
@NotNull public @NotNull NodeIterator<N> filterOut(@NotNull @NotNull Predicate<? super Node> predicate) - Overrides:
filterOut
in classMappedIterator<Node,
N extends Node>
-
filterOut
- Overrides:
filterOut
in 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:
filterOut
in classMappedIterator<Node,
N extends Node>
-
filter
@NotNull public @NotNull NodeIterator<N> filter(@NotNull @NotNull Predicate<? super Node> predicate) - Overrides:
filter
in classMappedIterator<Node,
N extends Node>
-
acceptFilter
@NotNull public @NotNull NodeIterator<N> acceptFilter(@NotNull @NotNull ValueIterationFilter<? super N> filter) - Overrides:
acceptFilter
in classMappedIterator<Node,
N extends Node>
-
filter
- Overrides:
filter
in 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:
filter
in classMappedIterator<Node,
N extends Node>
-
adapt
@NotNull public <F extends Node> @NotNull NodeIterator<F> adapt(@NotNull @NotNull Function<? super N, F> adapter) - Overrides:
adapt
in classMappedIterator<Node,
N extends Node>
-
adapt
@NotNull public <F extends Node> @NotNull NodeIterator<F> adapt(@NotNull @NotNull ValueIterationAdapter<? super N, F> adapter) - Overrides:
adapt
in 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)
-