Class MapEntryToKeyMapper<K,V>
java.lang.Object
org.keycloak.models.sessions.infinispan.stream.MapEntryToKeyMapper<K,V>
- Type Parameters:
K-V-
@ProtoTypeId(65611)
public class MapEntryToKeyMapper<K,V>
extends Object
implements Function<Map.Entry<K,V>,K>
A
Function to extract the key from a Map.Entry.
Same as Map.Entry::getKey.
Infinispan can marshall lambdas, by using SerializedLambda but it is not as efficient and ProtoStream
marshaller.