com.ibm.streamsx.topology.function
Interface UnaryOperator<T>
-
- Type Parameters:
T- Type of the argument and return
- All Superinterfaces:
- Function<T,T>, java.io.Serializable
- All Known Implementing Classes:
- Identity
public interface UnaryOperator<T> extends Function<T,T>
Specialization ofFunctionwhere the return type is the same as the argument type.
If an implementation also implementsjava.lang.AutoCloseablethen it will be automatically closed when the application terminates.