HK
- HV
- @FunctionalInterface public interface HashMapperProvider<HK,HV>
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
.Modifier and Type | Method and Description |
---|---|
<V> HashMapper<V,HK,HV> |
getHashMapper(Class<V> targetType)
Get the
HashMapper for a specific type. |
<V> HashMapper<V,HK,HV> getHashMapper(Class<V> targetType)
HashMapper
for a specific type.V
- the value target type.targetType
- must not be null.HashMapper
suitable for a given type;Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.