- java.lang.Object
-
- io.netty5.util.collection.LongCollections
-
public final class LongCollections extends Object
Utilities for long-based primitive collections.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V> LongObjectMap<V>
emptyMap()
Returns an unmodifiable emptyLongObjectMap
.static <V> LongObjectMap<V>
unmodifiableMap(LongObjectMap<V> map)
Creates an unmodifiable wrapper around the given map.
-
-
-
Method Detail
-
emptyMap
public static <V> LongObjectMap<V> emptyMap()
Returns an unmodifiable emptyLongObjectMap
.
-
unmodifiableMap
public static <V> LongObjectMap<V> unmodifiableMap(LongObjectMap<V> map)
Creates an unmodifiable wrapper around the given map.
-
-