- java.lang.Object
-
- io.netty5.util.collection.IntCollections
-
public final class IntCollections extends Object
Utilities for int-based primitive collections.
-
-
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.
-
-
-
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.
-
-