|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.structure.map.MapJoiner
public class MapJoiner
A MapJoiner allows to join two or multiple Map instances by their keys. Or additionally with List
instances in combination with a KeyExtractor.
MapUtils.joiner()| Nested Class Summary | |
|---|---|
static interface |
MapJoiner.From<K,VL>
|
static class |
MapJoiner.JoinedValue<V1,V2>
Similar to MapJoiner.JoinedValue special for a Map join result containing both values for a shared key |
static interface |
MapJoiner.JoinResult<K,VL,VR>
|
static interface |
MapJoiner.Predicate<K,VL,VR>
|
static class |
MapJoiner.PredicateIncludingKeySet<K,VL,VR>
MapJoiner.Predicate which uses a given Set of keys to return true for any result value which has a key contained within
that given Set. |
| Constructor Summary | |
|---|---|
MapJoiner()
|
|
| Method Summary | ||
|---|---|---|
|
from(KeyExtractor<K,VL> keyExtractor,
Iterable<VL> iterable)
|
|
|
from(Map<K,VL> map)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapJoiner()
| Method Detail |
|---|
public <K,VL> MapJoiner.From<K,VL> from(Map<K,VL> map)
map - Map
MapJoiner.FromMapJoiner
public <K,VL> MapJoiner.From<K,VL> from(KeyExtractor<K,VL> keyExtractor,
Iterable<VL> iterable)
keyExtractor - KeyExtractoriterable - Iterable
MapJoiner.FromMapJoiner
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||