Package io.netty.util.collection
Class LongCollections
- java.lang.Object
-
- io.netty.util.collection.LongCollections
-
public final class LongCollections extends java.lang.ObjectUtilities for long-based primitive collections.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classLongCollections.EmptyMapAn empty map.private static classLongCollections.UnmodifiableMap<V>An unmodifiable wrapper around aLongObjectMap.
-
Field Summary
Fields Modifier and Type Field Description private static LongObjectMap<java.lang.Object>EMPTY_MAP
-
Constructor Summary
Constructors Modifier Constructor Description privateLongCollections()
-
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.
-
-
-
Field Detail
-
EMPTY_MAP
private static final LongObjectMap<java.lang.Object> EMPTY_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.
-
-