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