public class IdentityFunction<T> extends Object implements Function<T,T>
A Function
that returns the input argument itself as the result.
Constructor and Description |
---|
IdentityFunction() |
Modifier and Type | Method and Description |
---|---|
T |
apply(T input)
Applies this function to the given argument.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.