Uses of Interface
zone.lamprey.function.Function
| Package | Description |
|---|---|
| zone.lamprey.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
-
Uses of Function in zone.lamprey.function
Subinterfaces of Function in zone.lamprey.function Modifier and Type Interface Description interfaceDoubleFunction<R>Represents a function that accepts a double-valued argument and produces a result.interfaceDoublePredicateRepresents a predicate (boolean-valued function) of onedouble-valued argument.interfaceDoubleToIntFunctionRepresents a function that accepts a double-valued argument and produces an int-valued result.interfaceDoubleToLongFunctionRepresents a function that accepts a double-valued argument and produces a long-valued result.interfaceDoubleUnaryOperatorRepresents an operation on a singledouble-valued operand that produces adouble-valued result.interfaceIntFunction<R>Represents a function that accepts an int-valued argument and produces a result.interfaceIntPredicateRepresents a predicate (boolean-valued function) of oneint-valued argument.interfaceIntToDoubleFunctionRepresents a function that accepts an int-valued argument and produces a double-valued result.interfaceIntToLongFunctionRepresents a function that accepts an int-valued argument and produces a long-valued result.interfaceIntUnaryOperatorRepresents an operation on a singleint-valued operand that produces anint-valued result.interfaceLongFunction<R>Represents a function that accepts a long-valued argument and produces a result.interfaceLongPredicateRepresents a predicate (boolean-valued function) of onelong-valued argument.interfaceLongToDoubleFunctionRepresents a function that accepts a long-valued argument and produces a double-valued result.interfaceLongToIntFunctionRepresents a function that accepts a long-valued argument and produces an int-valued result.interfaceLongUnaryOperatorRepresents an operation on a singlelong-valued operand that produces along-valued result.interfacePredicate<T>Represents a predicate (boolean-valued function) of one argument.interfaceToDoubleFunction<T>Represents a function that produces a double-valued result.interfaceToIntFunction<T>Represents a function that produces an int-valued result.interfaceToLongFunction<T>Represents a function that produces a long-valued result.interfaceUnaryOperator<T>Represents an operation on a single operand that produces a result of the same type as its operand.Fields in zone.lamprey.function declared as Function Modifier and Type Field Description static Function<?,String>Function. TO_STRINGFunctional interface toObjects.toString(java.lang.Object)Methods in zone.lamprey.function with type parameters of type Function Modifier and Type Method Description default <T, R, F extends Function<T, R>>
FRunnable. andThen(F after)LikeRunnable.andThen(Runnable), but creates a Function.Methods in zone.lamprey.function that return Function Modifier and Type Method Description default Function<U,R>BiFunction. applyPartialL(T t)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default Function<V,R>TriFunction. 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 Function<U,R>TriFunction. 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 Function<T,R>TriFunction. 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 Function<T,R>BiFunction. applyPartialR(U u)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.static <T> Function<T,T>Function. identity()Returns a function that always returns its input argument.default <S> Function<T,S>Function. map(Function<? super R,? extends S> functor)Lift a function.default <S> Function<T,S>ToDoubleFunction. mapToObj(DoubleFunction<? extends S> functor)Lift a function.default <S> Function<T,S>ToIntFunction. mapToObj(IntFunction<? extends S> functor)Lift a function.default <S> Function<T,S>ToLongFunction. mapToObj(LongFunction<? extends S> functor)Lift a function.Methods in zone.lamprey.function with parameters of type Function Modifier and Type Method Description default <S> BiFunction<T,U,S>BiFunction. map(Function<? super R,? extends S> functor)Lift a function.default <S> DoubleFunction<S>DoubleFunction. map(Function<? super R,? extends S> functor)Lift a function.default <S> Function<T,S>Function. map(Function<? super R,? extends S> functor)Lift a function.default <S> IntFunction<S>IntFunction. map(Function<? super R,? extends S> functor)Lift a function.default <S> LongFunction<S>LongFunction. map(Function<? super R,? extends S> functor)Lift a function.default <R> Supplier<R>Supplier. map(Function<T,R> functor)Lift a supplier.default <S> TriFunction<T,U,V,S>TriFunction. map(Function<? super R,? extends S> functor)Lift a function.