Uses of Interface
zone.lamprey.function.Consumer
| Package | Description |
|---|---|
| zone.lamprey.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
-
Uses of Consumer in zone.lamprey.function
Subinterfaces of Consumer in zone.lamprey.function Modifier and Type Interface Description interfaceDoubleConsumerRepresents an operation that accepts a singledouble-valued argument and returns no result.interfaceIntConsumerRepresents an operation that accepts a singleint-valued argument and returns no result.interfaceLongConsumerRepresents an operation that accepts a singlelong-valued argument and returns no result.Methods in zone.lamprey.function with type parameters of type Consumer Modifier and Type Method Description default <T, F extends Consumer<T>>
FRunnable. andThen(F after)LikeRunnable.andThen(Runnable), but creates a Consumer.Methods in zone.lamprey.function that return Consumer Modifier and Type Method Description default Consumer<T>Consumer. andThen(Consumer<? super T> after)Returns a composedConsumerthat performs, in sequence, this operation followed by theafteroperation.default Consumer<U>BiConsumer. applyPartialL(T t)Performs a partial application, resulting in a consumer that calls this with its argument and the argument given here.default Consumer<V>TriConsumer. applyPartialLM(T t, U u)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default Consumer<U>TriConsumer. applyPartialLR(T t, V v)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default Consumer<T>TriConsumer. applyPartialMR(U u, V v)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default Consumer<T>BiConsumer. applyPartialR(U u)Performs a partial application, resulting in a consumer that calls this with its argument and the argument given here.default Consumer<T>ObjDoubleConsumer. applyPartialR(double u)Performs a partial application, resulting in a consumer that calls this with its argument and the argument given here.default Consumer<T>ObjIntConsumer. applyPartialR(int u)Performs a partial application, resulting in a consumer that calls this with its argument and the argument given here.default Consumer<T>ObjLongConsumer. applyPartialR(long u)Performs a partial application, resulting in a consumer that calls this with its argument and the argument given here.default Consumer<T>Function. consume(Consumer<R> consumer)Consume a function.default Consumer<T>ToDoubleFunction. consume(DoubleConsumer consumer)Consume a function.default Consumer<T>ToIntFunction. consume(IntConsumer consumer)Consume a function.default Consumer<T>ToLongFunction. consume(LongConsumer consumer)Consume a function.Methods in zone.lamprey.function with parameters of type Consumer Modifier and Type Method Description default Consumer<T>Consumer. andThen(Consumer<? super T> after)Returns a composedConsumerthat performs, in sequence, this operation followed by theafteroperation.default BiConsumer<T,U>BiConsumer. andThenL(Consumer<? super T> after)Returns a composedBiConsumerthat performs, in sequence, this operation followed by theafteroperation.default TriConsumer<T,U,V>TriConsumer. andThenL(Consumer<? super T> after)Returns a composedTriConsumerthat performs, in sequence, this operation followed by theafteroperation.default TriConsumer<T,U,V>TriConsumer. andThenM(Consumer<? super U> after)Returns a composedTriConsumerthat performs, in sequence, this operation followed by theafteroperation.default BiConsumer<T,U>BiConsumer. andThenR(Consumer<? super U> after)Returns a composedBiConsumerthat performs, in sequence, this operation followed by theafteroperation.default TriConsumer<T,U,V>TriConsumer. andThenR(Consumer<? super V> after)Returns a composedTriConsumerthat performs, in sequence, this operation followed by theafteroperation.default BiConsumer<T,U>BiFunction. consume(Consumer<R> consumer)Consume a function.default DoubleConsumerDoubleFunction. consume(Consumer<R> consumer)Consume a function.default Consumer<T>Function. consume(Consumer<R> consumer)Consume a function.default IntConsumerIntFunction. consume(Consumer<R> consumer)Consume a function.default LongConsumerLongFunction. consume(Consumer<R> consumer)Consume a function.default RunnableSupplier. consume(Consumer<T> consumer)Consume a supplier.default TriConsumer<T,U,V>TriFunction. consume(Consumer<R> consumer)Consume a function.