Package io.netty.util.collection
Class CharCollections
- java.lang.Object
-
- io.netty.util.collection.CharCollections
-
public final class CharCollections extends java.lang.Object
Utilities for char-based primitive collections.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
CharCollections.EmptyMap
An empty map.private static class
CharCollections.UnmodifiableMap<V>
An unmodifiable wrapper around aCharObjectMap
.
-
Field Summary
Fields Modifier and Type Field Description private static CharObjectMap<java.lang.Object>
EMPTY_MAP
-
Constructor Summary
Constructors Modifier Constructor Description private
CharCollections()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <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 Detail
-
EMPTY_MAP
private static final CharObjectMap<java.lang.Object> EMPTY_MAP
-
-
Method Detail
-
emptyMap
public static <V> CharObjectMap<V> emptyMap()
Returns an unmodifiable emptyCharObjectMap
.
-
unmodifiableMap
public static <V> CharObjectMap<V> unmodifiableMap(CharObjectMap<V> map)
Creates an unmodifiable wrapper around the given map.
-
-