Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
@FunctionalInterface
public interface UnaryOperator<T>
ExtendsFunction<T, T>
An operation on one value that answers the same type.
Type parameters
<T>- the operand and result type
Methods
public static <T> UnaryOperator<T> identity() | The operator that answers its operand. |
Inherited methods
Method details
identity
public static <T> UnaryOperator<T> identity()The operator that answers its operand.
Parameters
<T>- the type
Returns
the identity operator