T
- the type of the operand and result of the operator@FunctionalInterface public interface DistributedUnaryOperator<T> extends DistributedFunction<T,T>, java.util.function.UnaryOperator<T>, Serializable
Function
for
the case where the operand and result are of the same type.
This is a functional interface
whose functional method is Function.apply(Object)
.
DistributedFunction
Modifier and Type | Method and Description |
---|---|
static <T> DistributedUnaryOperator<T> |
identity()
Returns a unary operator that always returns its input argument.
|
andThen, compose
andThen, apply, compose
static <T> DistributedUnaryOperator<T> identity()
identity
in interface DistributedFunction<T,T>
identity
in interface java.util.function.Function<T,T>
identity
in interface java.util.function.UnaryOperator<T>
T
- the type of the input and output of the operatorCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.