Class ShortCollections
java.lang.Object
io.netty.util.collection.ShortCollections
Utilities for short-based primitive collections.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classAn empty map.private static final classAn unmodifiable wrapper around aShortObjectMap. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> ShortObjectMap<V> emptyMap()Returns an unmodifiable emptyShortObjectMap.static <V> ShortObjectMap<V> unmodifiableMap(ShortObjectMap<V> map) Creates an unmodifiable wrapper around the given map.
-
Field Details
-
EMPTY_MAP
-
-
Constructor Details
-
ShortCollections
private ShortCollections()
-
-
Method Details
-
emptyMap
Returns an unmodifiable emptyShortObjectMap. -
unmodifiableMap
Creates an unmodifiable wrapper around the given map.
-