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