T
- the type of the operand and result of the operator@FunctionalInterface public interface UnaryOperator<T> extends Function<T,T>
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)
.
Function
Modifier and Type | Method and Description |
---|---|
static <T> UnaryOperator<T> |
identity()
Returns a unary operator that always returns its input argument.
|
static <T> UnaryOperator<T> identity()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.