Package io.netty.util.collection
Class IntCollections
java.lang.Object
io.netty.util.collection.IntCollections
Utilities for int-based primitive collections.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
An empty map.private static final class
An unmodifiable wrapper around aIntObjectMap
. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> IntObjectMap
<V> emptyMap()
Returns an unmodifiable emptyIntObjectMap
.static <V> IntObjectMap
<V> unmodifiableMap
(IntObjectMap<V> map) Creates an unmodifiable wrapper around the given map.
-
Field Details
-
EMPTY_MAP
-
-
Constructor Details
-
IntCollections
private IntCollections()
-
-
Method Details
-
emptyMap
Returns an unmodifiable emptyIntObjectMap
. -
unmodifiableMap
Creates an unmodifiable wrapper around the given map.
-