Class ValueIterationAdapterImpl.MyValueIterationConsumer<P,T,R>
java.lang.Object
com.vladsch.flexmark.tree.iteration.ValueIterationAdapterImpl.MyValueIterationConsumer<P,T,R>
- All Implemented Interfaces:
IterationConsumer<P>
,ValueIterationConsumer<P,
R>
- Enclosing class:
ValueIterationAdapterImpl<N,
T>
private static class ValueIterationAdapterImpl.MyValueIterationConsumer<P,T,R>
extends Object
implements ValueIterationConsumer<P,R>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ValueIterationConsumer
<? super T, R> private final @Nullable ValueIterationFilter
<? super T> -
Constructor Summary
ConstructorsConstructorDescriptionMyValueIterationConsumer
(@NotNull Function<? super P, ? extends T> function, @Nullable ValueIterationFilter<? super T> filter, ValueIterationConsumer<? super T, R> consumer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(P it, @NotNull ValueIteration<R> iteration) void
afterEnd
(@NotNull ValueIteration<R> iteration) void
beforeStart
(@NotNull ValueIteration<R> iteration) void
endRecursion
(@NotNull VoidIteration iteration) void
startRecursion
(@NotNull VoidIteration iteration)
-
Field Details
-
myConsumer
-
myFunction
-
myFilter
-
-
Constructor Details
-
MyValueIterationConsumer
public MyValueIterationConsumer(@NotNull @NotNull Function<? super P, ? extends T> function, @Nullable @Nullable ValueIterationFilter<? super T> filter, ValueIterationConsumer<? super T, R> consumer)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceValueIterationConsumer<P,
T>
-
beforeStart
- Specified by:
beforeStart
in interfaceValueIterationConsumer<P,
T>
-
startRecursion
- Specified by:
startRecursion
in interfaceIterationConsumer<P>
-
endRecursion
- Specified by:
endRecursion
in interfaceIterationConsumer<P>
-
afterEnd
- Specified by:
afterEnd
in interfaceValueIterationConsumer<P,
T>
-