Uses of Interface
zone.lamprey.function.Supplier
| Package | Description |
|---|---|
| zone.lamprey.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
-
Uses of Supplier in zone.lamprey.function
Subinterfaces of Supplier in zone.lamprey.function Modifier and Type Interface Description interfaceBooleanSupplierRepresents a supplier ofboolean-valued results.interfaceDoubleSupplierRepresents a supplier ofdouble-valued results.interfaceIntSupplierRepresents a supplier ofint-valued results.interfaceLongSupplierRepresents a supplier oflong-valued results.Methods in zone.lamprey.function with type parameters of type Supplier Modifier and Type Method Description default <T, F extends Supplier<T>>
FRunnable. andThen(F after)LikeRunnable.andThen(Runnable), but creates a Supplier.Methods in zone.lamprey.function that return Supplier Modifier and Type Method Description default Supplier<R>BiFunction. applyPartial(T t, U u)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default Supplier<R>DoubleFunction. applyPartial(double t)Partially apply a parameter such that a single param function becomes a no-param supplier.default Supplier<? extends R>Function. applyPartial(T t)Partially apply a parameter such that a single param function becomes a no-param supplier.default Supplier<R>IntFunction. applyPartial(int t)Partially apply a parameter such that a single param function becomes a no-param supplier.default Supplier<R>LongFunction. applyPartial(long t)Partially apply a parameter such that a single param function becomes a no-param supplier.default Supplier<T>TernaryOperator. applyPartial(T t, T u, T v)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default Supplier<R>TriFunction. applyPartial(T t, U u, V v)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default <R> Supplier<R>Supplier. map(Function<T,R> functor)Lift a supplier.default <R> Supplier<R>DoubleSupplier. mapToObj(DoubleFunction<R> functor)Lift a supplier.default <R> Supplier<R>IntSupplier. mapToObj(IntFunction<R> functor)Lift a supplier.default <R> Supplier<R>LongSupplier. mapToObj(LongFunction<R> functor)Lift a supplier.