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.
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.
- Since:
- 2.2
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescription<V> HashMapper<V,HK, HV> getHashMapper(Class<V> targetType) Get theHashMapperfor a specific type.
-
Method Details
-
getHashMapper
Get theHashMapperfor a specific type.- Type Parameters:
V- the value target type.- Parameters:
targetType- must not be null.- Returns:
- the
HashMappersuitable for a given type;
-