Package com.backblaze.b2.util
Class B2Collections
- java.lang.Object
-
- com.backblaze.b2.util.B2Collections
-
public class B2Collections extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description B2Collections()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> java.util.List<T>
listOf(T... orig)
static <K,V>
java.util.Map<K,V>mapOf()
static <K,V>
java.util.Map<K,V>mapOf(K k1, V v1)
static <K,V>
java.util.Map<K,V>mapOf(K k1, V v1, K k2, V v2)
static <K,V>
java.util.Map<K,V>mapOf(K k1, V v1, K k2, V v2, K k3, V v3)
static <K,V>
java.util.Map<K,V>unmodifiableMap(java.util.Map<K,V> orig)
static <T> java.util.Set<T>
unmodifiableSet(T[] elements)
-
-
-
Method Detail
-
unmodifiableSet
public static <T> java.util.Set<T> unmodifiableSet(T[] elements)
-
unmodifiableMap
public static <K,V> java.util.Map<K,V> unmodifiableMap(java.util.Map<K,V> orig)
-
mapOf
public static <K,V> java.util.Map<K,V> mapOf()
-
mapOf
public static <K,V> java.util.Map<K,V> mapOf(K k1, V v1)
-
mapOf
public static <K,V> java.util.Map<K,V> mapOf(K k1, V v1, K k2, V v2)
-
mapOf
public static <K,V> java.util.Map<K,V> mapOf(K k1, V v1, K k2, V v2, K k3, V v3)
-
listOf
@SafeVarargs public static <T> java.util.List<T> listOf(T... orig)
-
-