# Package org.apache.commons.collections4.splitmap

package org.apache.commons.collections4.splitmap
Implements the "split map" concept. A split map is an object that implements the `Put` and `Get` interfaces, with differing generic types. This is like a pre-generics `Map` whose input key/value constraints are different from 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:

- Transformed - transforms each element added

- Related Packages
  Package
  Description
  org.apache.commons.collections4
  Interfaces and utilities shared across all packages.
- Classes
  Class
  Description
  AbstractIterableGetMapDecorator<K,V>
  `IterableGet` that uses a `Map`<K, V> for the `Get`<K, V> implementation.
  TransformedSplitMap<J,K,U,V>
  Decorates another `Map` to transform objects that are added.