KEYTYPE - Map key typeVALUETYPE - Map value typepublic class ConverterMapGet<KEYTYPE,VALUETYPE> extends Object implements IConverter<KEYTYPE,VALUETYPE>
IConverter that converts from a map key to a map
value| Constructor and Description |
|---|
ConverterMapGet(Map<KEYTYPE,VALUETYPE> aMap) |
| Modifier and Type | Method and Description |
|---|---|
VALUETYPE |
convert(KEYTYPE aKey)
Convert the passed source object to the destination type.
|
Map<KEYTYPE,VALUETYPE> |
getMap() |
@Nonnull @ReturnsMutableCopy public Map<KEYTYPE,VALUETYPE> getMap()
@Nullable public VALUETYPE convert(@Nullable KEYTYPE aKey)
IConverterconvert in interface IConverter<KEYTYPE,VALUETYPE>aKey - The source object to be converted. No null or non-
null constraint possible.null or non- null
constraint possible.Copyright © 2014–2015 Philip Helger. All rights reserved.