T
- the type of the item@FunctionalInterface public interface IdentifierProvider<T> extends ValueProvider<T,Object>
Modifier and Type | Method and Description |
---|---|
static <T> IdentifierProvider<T> |
identity()
Returns an identifier provider that always returns its input argument.
|
apply
static <T> IdentifierProvider<T> identity()
identity
in interface Function<T,Object>
identity
in interface SerializableFunction<T,Object>
identity
in interface ValueProvider<T,Object>
T
- the type of the input and output objects to the functionCopyright © 2021. All rights reserved.