public class MapFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MapFactory.SimpleEntry<KEY,VALUE> |
| Constructor and Description |
|---|
MapFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Map.Entry<K,V> |
entry(K key,
V value) |
static <K,V> Map<K,V> |
hashMap(Map.Entry<K,V>... entries) |
static <K,V> Map<K,V> |
map(java.util.function.Supplier<Map<K,V>> mapFactory,
Map.Entry<K,V>... entries) |
@SafeVarargs public static <K,V> Map<K,V> hashMap(Map.Entry<K,V>... entries)
@SafeVarargs public static <K,V> Map<K,V> map(java.util.function.Supplier<Map<K,V>> mapFactory, Map.Entry<K,V>... entries)
public static <K,V> Map.Entry<K,V> entry(K key, V value)
Copyright © 2016 Inbot. All Rights Reserved.