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 TypeMethodDescriptionvoidaccept(P it, @NotNull ValueIteration<R> iteration) voidafterEnd(@NotNull ValueIteration<R> iteration) voidbeforeStart(@NotNull ValueIteration<R> iteration) voidendRecursion(@NotNull VoidIteration iteration) voidstartRecursion(@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:
acceptin interfaceValueIterationConsumer<P,T>
-
beforeStart
- Specified by:
beforeStartin interfaceValueIterationConsumer<P,T>
-
startRecursion
- Specified by:
startRecursionin interfaceIterationConsumer<P>
-
endRecursion
- Specified by:
endRecursionin interfaceIterationConsumer<P>
-
afterEnd
- Specified by:
afterEndin interfaceValueIterationConsumer<P,T>
-