Package io.netty.util.collection
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 class
An empty map.private static final class
An 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.
-