Class Maps
- java.lang.Object
-
- com.djrapitops.plan.utilities.java.Maps
-
public class Maps extends java.lang.Object
Methods that can be used as functional interfaces when dealing with Maps.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Maps.Builder<K,V>
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K,V>
Maps.Builder<K,V>builder(java.lang.Class<K> key, java.lang.Class<V> value)
static <V,T,K>
java.util.Map<V,T>create(K key)
static <V,K>
java.util.Set<V>createSet(K key)
static <K,V>
java.util.Map<V,K>reverse(java.util.Map<K,V> map)
-
-
-
Method Detail
-
create
public static <V,T,K> java.util.Map<V,T> create(K key)
-
createSet
public static <V,K> java.util.Set<V> createSet(K key)
-
builder
public static <K,V> Maps.Builder<K,V> builder(java.lang.Class<K> key, java.lang.Class<V> value)
-
reverse
public static <K,V> java.util.Map<V,K> reverse(java.util.Map<K,V> map)
-
-