Put and
Get interfaces,
with differing generic types. This is like a pre-generics
Map whose input key/value constraints are
different than its output key/value constraints. While it would
be possible to declare a "split map" with matching input/output
key/value constraints, this would be a Map
and would therefore make little sense (any Commons Collections
Map implementation will also implement
Put and
Get with matching
generic parameters).
The following decorators are provided:
| Modifier and Type | Class and Description |
|---|---|
| public class | AbstractIterableGetMapDecorator<
the type of the keys in this map K, the type of the values in this map V>
|
| public class | TransformedSplitMap<
the type of the keys to put in this map J, the type of the keys to get in this map K, the type of the values to put in this map U, the type of the values to get in this map V>Decorates another |