public class IdentityFunction<X> extends Object implements java.util.function.Function<X,X>
Constructor and Description |
---|
IdentityFunction() |
Modifier and Type | Method and Description |
---|---|
X |
apply(X o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, compose, identity
public X apply(X o)
apply
in interface java.util.function.Function<X,X>
o
- The Object to be returned