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