- java.lang.Object
-
- io.netty5.util.collection.ShortCollections
-
public final class ShortCollections extends Object
Utilities for short-based primitive collections.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V> ShortObjectMap<V>
emptyMap()
Returns an unmodifiable emptyShortObjectMap
.static <V> ShortObjectMap<V>
unmodifiableMap(ShortObjectMap<V> map)
Creates an unmodifiable wrapper around the given map.
-
-
-
Method Detail
-
emptyMap
public static <V> ShortObjectMap<V> emptyMap()
Returns an unmodifiable emptyShortObjectMap
.
-
unmodifiableMap
public static <V> ShortObjectMap<V> unmodifiableMap(ShortObjectMap<V> map)
Creates an unmodifiable wrapper around the given map.
-
-