Class HashMapKeySetFunction<K,HK,HV>

java.lang.Object
org.infinispan.multimap.impl.function.hmap.HashMapBucketBaseFunction<K,HK,HV,Set<HK>>
org.infinispan.multimap.impl.function.hmap.HashMapKeySetFunction<K,HK,HV>
Type Parameters:
K - : Key type to identify the HashMapBucket.
HK - : The HashMapBucket key type.
HV - : The HashMapBucket value type.
All Implemented Interfaces:
Serializable, Function<org.infinispan.functional.EntryView.ReadWriteEntryView<K,HashMapBucket<HK,HV>>,Set<HK>>, org.infinispan.util.function.SerializableFunction<org.infinispan.functional.EntryView.ReadWriteEntryView<K,HashMapBucket<HK,HV>>,Set<HK>>

public class HashMapKeySetFunction<K,HK,HV> extends HashMapBucketBaseFunction<K,HK,HV,Set<HK>>
Serializable function used by EmbeddedMultimapPairCache.keySet(Object).

This functions returns the key set of the HashMapBucket, or an empty set if the entry is not found.

Since:
15.0
See Also:
  • Field Details

    • EXTERNALIZER

      public static final org.infinispan.multimap.impl.function.hmap.HashMapKeySetFunction.Externalizer EXTERNALIZER
  • Constructor Details

    • HashMapKeySetFunction

      public HashMapKeySetFunction()
  • Method Details

    • apply

      public Set<HK> apply(org.infinispan.functional.EntryView.ReadWriteEntryView<K,HashMapBucket<HK,HV>> view)