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