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 java.lang.Object implements ValueIterationConsumer<P,R>
-
-
Field Summary
Fields Modifier and Type Field Description private ValueIterationConsumer<? super T,R>myConsumerprivate @Nullable ValueIterationFilter<? super T>myFilterprivate java.util.function.Function<? super P,? extends T>myFunction
-
Constructor Summary
Constructors Constructor Description MyValueIterationConsumer(@NotNull java.util.function.Function<? super P,? extends T> function, @Nullable ValueIterationFilter<? super T> filter, ValueIterationConsumer<? super T,R> consumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(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 Detail
-
myConsumer
private final ValueIterationConsumer<? super T,R> myConsumer
-
myFilter
@Nullable private final @Nullable ValueIterationFilter<? super T> myFilter
-
-
Constructor Detail
-
MyValueIterationConsumer
public MyValueIterationConsumer(@NotNull @NotNull java.util.function.Function<? super P,? extends T> function, @Nullable @Nullable ValueIterationFilter<? super T> filter, ValueIterationConsumer<? super T,R> consumer)
-
-
Method Detail
-
accept
public void accept(@NotNull P it, @NotNull @NotNull ValueIteration<R> iteration)- Specified by:
acceptin interfaceValueIterationConsumer<P,T>
-
beforeStart
public void beforeStart(@NotNull @NotNull ValueIteration<R> iteration)- Specified by:
beforeStartin interfaceValueIterationConsumer<P,T>
-
startRecursion
public void startRecursion(@NotNull @NotNull VoidIteration iteration)- Specified by:
startRecursionin interfaceIterationConsumer<P>
-
endRecursion
public void endRecursion(@NotNull @NotNull VoidIteration iteration)- Specified by:
endRecursionin interfaceIterationConsumer<P>
-
afterEnd
public void afterEnd(@NotNull @NotNull ValueIteration<R> iteration)- Specified by:
afterEndin interfaceValueIterationConsumer<P,T>
-
-