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 Object
implements ValueIterationConsumerAdapter<P,T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConsumerAdapter
(@NotNull Function<? super P, ? extends T> function, @Nullable ValueIterationFilter<? super T> filter) -
Method Summary
Modifier and TypeMethodDescription<R> @NotNull ValueIterationConsumer<? super P,
R> getConsumer
(ValueIterationConsumer<? super T, R> valueConsumer) <R> @NotNull ValueIterationConsumer<? super P,
R> getConsumer
(VoidIterationConsumer<? super T> voidConsumer)
-
Field Details
-
myFunction
-
myFilter
-
-
Constructor Details
-
ConsumerAdapter
public ConsumerAdapter(@NotNull @NotNull Function<? super P, ? extends T> function, @Nullable @Nullable ValueIterationFilter<? super T> filter)
-
-
Method Details
-
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>
-