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