public final class Functions extends Object
| Modifier and Type | Method and Description | 
|---|---|
static <K> FunctionEx<Map.Entry<K,?>,K> | 
entryKey()
Returns a function that extracts the key of a  
Map.Entry. | 
static <V> FunctionEx<Map.Entry<?,V>,V> | 
entryValue()
Returns a function that extracts the value of a  
Map.Entry. | 
static <T> FunctionEx<T,T> | 
wholeItem()
Synonym for  
FunctionEx.identity(), to be used as a
 projection function (e.g., key extractor). | 
@Nonnull public static <T> FunctionEx<T,T> wholeItem()
FunctionEx.identity(), to be used as a
 projection function (e.g., key extractor).T - the type of the input and output objects to the function@Nonnull public static <K> FunctionEx<Map.Entry<K,?>,K> entryKey()
Map.Entry.K - type of entry's key@Nonnull public static <V> FunctionEx<Map.Entry<?,V>,V> entryValue()
Map.Entry.V - type of entry's valueCopyright © 2022 Hazelcast, Inc.. All rights reserved.