| Modifier and Type | Method and Description |
|---|---|
static <R,T extends R> |
identity()
Returns a function that always returns its input argument.
|
public static <R,T extends R> Function<T,R> identity()
T - the input type to the functionR - the output type of the functionFunction#identity()}Copyright © 2018 JBoss by Red Hat. All rights reserved.