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