Package io.netty.util.collection
Class CharCollections
java.lang.Object
io.netty.util.collection.CharCollections
Utilities for char-based primitive collections.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
An empty map.private static final class
An unmodifiable wrapper around aCharObjectMap
. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> CharObjectMap
<V> emptyMap()
Returns an unmodifiable emptyCharObjectMap
.static <V> CharObjectMap
<V> unmodifiableMap
(CharObjectMap<V> map) Creates an unmodifiable wrapper around the given map.
-
Field Details
-
EMPTY_MAP
-
-
Constructor Details
-
CharCollections
private CharCollections()
-
-
Method Details
-
emptyMap
Returns an unmodifiable emptyCharObjectMap
. -
unmodifiableMap
Creates an unmodifiable wrapper around the given map.
-