- java.lang.Object
-
- io.netty5.util.collection.CharCollections
-
public final class CharCollections extends Object
Utilities for char-based primitive collections.
-
-
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.
-
-
-
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.
-
-