Interface HashMapperProvider<HK,HV>

Type Parameters:
HK -
HV -
All Known Subinterfaces:
ReactiveStreamOperations<K,HK,HV>, StreamOperations<K,HK,HV>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface HashMapperProvider<HK,HV>
Function that returns a HashMapper for a given type.

Implementors of this interface can return a generic or a specific HashMapper implementation, depending on the serialization strategy for the requested target type.

Mark Paluch
  • Method Details

    • getHashMapper

      <V> HashMapper<V,HK,HV> getHashMapper(Class<V> targetType)
      Get the HashMapper for a specific type.
      Type Parameters:
      V - the value target type.
      targetType - must not be null.
      the HashMapper suitable for a given type;