public final class MapWrapper extends Object
| Modifier | Constructor and Description |
|---|---|
private |
MapWrapper() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Map<K,V> |
collectionCatcherHashMap(Collection<V> key,
Catcher<K,V> catcher) |
static <K,V> Map<K,V> |
filter(Map<K,V> map,
Acceptable<V> acceptable) |
static <K,V,NK,VK> |
transform(Map<K,V> values,
Catcher<NK,K> keyCatcher,
Catcher<VK,V> valueCatcher) |
static <K,V> Map<K,V> |
valueableHashMap(Return<K,V>... returns) |
public static <K,V> Map<K,V> collectionCatcherHashMap(Collection<V> key, Catcher<K,V> catcher)
public static <K,V> Map<K,V> filter(Map<K,V> map, Acceptable<V> acceptable)
@SafeVarargs public static <K,V> Map<K,V> valueableHashMap(Return<K,V>... returns)
Copyright © 2020. All rights reserved.