public final class IntCollections
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
IntCollections.EmptyMap
An empty map.
|
private static class |
IntCollections.UnmodifiableMap<V>
An unmodifiable wrapper around a
IntObjectMap . |
Modifier and Type | Field and Description |
---|---|
private static IntObjectMap<java.lang.Object> |
EMPTY_MAP |
Modifier | Constructor and Description |
---|---|
private |
IntCollections() |
Modifier and Type | Method and Description |
---|---|
static <V> IntObjectMap<V> |
emptyMap()
Returns an unmodifiable empty
IntObjectMap . |
static <V> IntObjectMap<V> |
unmodifiableMap(IntObjectMap<V> map)
Creates an unmodifiable wrapper around the given map.
|
private static final IntObjectMap<java.lang.Object> EMPTY_MAP
public static <V> IntObjectMap<V> emptyMap()
IntObjectMap
.public static <V> IntObjectMap<V> unmodifiableMap(IntObjectMap<V> map)