Uses of Interface
zone.lamprey.function.UnaryOperator
| Package | Description |
|---|---|
| zone.lamprey.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
-
Uses of UnaryOperator in zone.lamprey.function
Subinterfaces of UnaryOperator in zone.lamprey.function Modifier and Type Interface Description interfaceDoubleUnaryOperatorRepresents an operation on a singledouble-valued operand that produces adouble-valued result.interfaceIntUnaryOperatorRepresents an operation on a singleint-valued operand that produces anint-valued result.interfaceLongUnaryOperatorRepresents an operation on a singlelong-valued operand that produces along-valued result.Methods in zone.lamprey.function that return UnaryOperator Modifier and Type Method Description default UnaryOperator<T>BinaryOperator. applyPartialL(T t)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default UnaryOperator<T>TernaryOperator. applyPartialLM(T t, T u)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default UnaryOperator<T>TernaryOperator. applyPartialLR(T t, T v)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default UnaryOperator<T>TernaryOperator. applyPartialMR(T u, T v)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default UnaryOperator<T>BinaryOperator. applyPartialR(T u)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.static <T> UnaryOperator<T>UnaryOperator. identity()Returns a unary operator that always returns its input argument.default UnaryOperator<T>UnaryOperator. map(UnaryOperator<T> functor)Lift a function.default UnaryOperator<T>UnaryOperator. recursive(int depth)A method that creates a function which calls a function with its own result some amount of times.default UnaryOperator<T>UnaryOperator. recursive(Predicate<T> terminalCondition)A method that creates a function which calls a function with its own result until some condition is met.default UnaryOperator<T>UnaryOperator. recursive(Predicate<T> terminalCondition, int maxDepth)A method that creates a function which calls a function with its own result some amount of times or until some condition is met.Methods in zone.lamprey.function with parameters of type UnaryOperator Modifier and Type Method Description default BinaryOperator<T>BinaryOperator. map(UnaryOperator<T> functor)Lift a function.default BiPredicate<T,U>BiPredicate. map(UnaryOperator<Boolean> functor)Lift a function.default DoubleUnaryOperatorDoubleUnaryOperator. map(UnaryOperator<Double> functor)Lift a function.default IntUnaryOperatorIntUnaryOperator. map(UnaryOperator<Integer> functor)Lift a function.default LongUnaryOperatorLongUnaryOperator. map(UnaryOperator<Long> functor)Lift a function.default UnaryOperator<T>UnaryOperator. map(UnaryOperator<T> functor)Lift a function.