Package io.netty.util.collection
Class IntCollections
- java.lang.Object
-
- io.netty.util.collection.IntCollections
-
public final class IntCollections extends java.lang.ObjectUtilities for int-based primitive collections.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classIntCollections.EmptyMapAn empty map.private static classIntCollections.UnmodifiableMap<V>An unmodifiable wrapper around aIntObjectMap.
-
Field Summary
Fields Modifier and Type Field Description private static IntObjectMap<java.lang.Object>EMPTY_MAP
-
Constructor Summary
Constructors Modifier Constructor Description privateIntCollections()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <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 Detail
-
EMPTY_MAP
private static final IntObjectMap<java.lang.Object> EMPTY_MAP
-
-
Method Detail
-
emptyMap
public static <V> IntObjectMap<V> emptyMap()
Returns an unmodifiable emptyIntObjectMap.
-
unmodifiableMap
public static <V> IntObjectMap<V> unmodifiableMap(IntObjectMap<V> map)
Creates an unmodifiable wrapper around the given map.
-
-