T - the type of the inputpublic class IdentityFunction<T> extends Object implements Function<T,T>
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 © 2023 The Apache Software Foundation. All rights reserved.