@ApiStatus.Internal
public final class CollectionUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <K,V> @Nullable java.util.Map<K,V> |
shallowCopy(@Nullable java.util.Map<K,V> map)
Creates a shallow copy of map given by parameter.
|
static int |
size(java.lang.Iterable<?> data)
Returns an Iterator size
|
public static int size(java.lang.Iterable<?> data)
data - the Iterable@Nullable
public static <K,V> @Nullable java.util.Map<K,V> shallowCopy(@Nullable
@Nullable java.util.Map<K,V> map)
K - the type of map keysV - the type of map valuesmap - the map to copy