Class ValueIterationAdapterImpl.ConsumerAdapter<P,T>
- java.lang.Object
-
- com.vladsch.flexmark.tree.iteration.ValueIterationAdapterImpl.ConsumerAdapter<P,T>
-
- All Implemented Interfaces:
ValueIterationConsumerAdapter<P,T>
- Enclosing class:
- ValueIterationAdapterImpl<N,T>
static class ValueIterationAdapterImpl.ConsumerAdapter<P,T> extends java.lang.Object implements ValueIterationConsumerAdapter<P,T>
-
-
Field Summary
Fields Modifier and Type Field Description private @Nullable ValueIterationFilter<? super T>
myFilter
private @NotNull java.util.function.Function<? super P,? extends T>
myFunction
-
Constructor Summary
Constructors Constructor Description ConsumerAdapter(@NotNull java.util.function.Function<? super P,? extends T> function, @Nullable ValueIterationFilter<? super T> filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> @NotNull ValueIterationConsumer<? super P,R>
getConsumer(ValueIterationConsumer<? super T,R> valueConsumer)
<R> @NotNull ValueIterationConsumer<? super P,R>
getConsumer(VoidIterationConsumer<? super T> voidConsumer)
-
-
-
Field Detail
-
myFunction
@NotNull private final @NotNull java.util.function.Function<? super P,? extends T> myFunction
-
myFilter
@Nullable private final @Nullable ValueIterationFilter<? super T> myFilter
-
-
Constructor Detail
-
ConsumerAdapter
public ConsumerAdapter(@NotNull @NotNull java.util.function.Function<? super P,? extends T> function, @Nullable @Nullable ValueIterationFilter<? super T> filter)
-
-
Method Detail
-
getConsumer
@NotNull public <R> @NotNull ValueIterationConsumer<? super P,R> getConsumer(ValueIterationConsumer<? super T,R> valueConsumer)
- Specified by:
getConsumer
in interfaceValueIterationConsumerAdapter<P,T>
-
getConsumer
@NotNull public <R> @NotNull ValueIterationConsumer<? super P,R> getConsumer(VoidIterationConsumer<? super T> voidConsumer)
- Specified by:
getConsumer
in interfaceValueIterationConsumerAdapter<P,T>
-
-