S
- source object typeK
- resulting map key typepublic class ToMap<S,K> extends Object implements com.google.common.base.Function<S,Map<K,Object>>
map
representation.
map
already, the operation is trivial;collection
it is turned into a map with keys equal to either the values of property or consequent natural numbers;Constructor and Description |
---|
ToMap() |
Modifier and Type | Method and Description |
---|---|
Map<K,Object> |
apply(S source) |
static <S,K> Map<K,Object> |
toMap(S source) |
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.