Class ByteArrayExtensions
java.lang.Object
net.hl.lang.ext.ByteArrayExtensions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]static byte[]newPrimitiveByteArray(int size, byte defaultValue) static byte[]newPrimitiveByteArray(int size, IntToIntFunction filler) static byte[][]newPrimitiveByteArray2(int size1, byte[] defaultValue) static byte[][]newPrimitiveByteArray2(int size1, int size2, byte defaultValue) static byte[][]newPrimitiveByteArray2(int size1, int size2, Int2ToIntFunction filler) static byte[][][]newPrimitiveByteArray3(int size1, byte[][] defaultValue) static byte[][][]newPrimitiveByteArray3(int size1, int size2, byte[] defaultValue) static byte[][][]newPrimitiveByteArray3(int size1, int size2, int size3, byte defaultValue) static byte[][][]newPrimitiveByteArray3(int size1, int size2, int size3, Int3ToIntFunction filler) static byte[][][][]newPrimitiveByteArray4(int size1, byte[][][] defaultValue) static byte[][][][]newPrimitiveByteArray4(int size1, int size2, byte[][] defaultValue) static byte[][][][]newPrimitiveByteArray4(int size1, int size2, int size3, byte[] defaultValue) static byte[][][][]newPrimitiveByteArray4(int size1, int size2, int size3, int size4, byte defaultValue) static byte[][][][]newPrimitiveByteArray4(int size1, int size2, int size3, int size4, Int4ToIntFunction filler) static byte[]setAt(byte[] array, int[] indices, byte[] other) static byte[]setAt(byte[] array, IntPredicate predicate, byte[] other) static byte[]static intupperBound(byte[] s)
-
Constructor Details
-
ByteArrayExtensions
public ByteArrayExtensions()
-
-
Method Details
-
upperBound
public static int upperBound(byte[] s) -
getAt
-
setAt
-
setAt
-
setAt
public static byte[] setAt(byte[] array, int[] indices, byte[] other) -
newPrimitiveByteArray
-
newPrimitiveByteArray2
-
newPrimitiveByteArray3
public static byte[][][] newPrimitiveByteArray3(int size1, int size2, int size3, Int3ToIntFunction filler) -
newPrimitiveByteArray4
public static byte[][][][] newPrimitiveByteArray4(int size1, int size2, int size3, int size4, Int4ToIntFunction filler) -
newPrimitiveByteArray
public static byte[] newPrimitiveByteArray(int size, byte defaultValue) -
newPrimitiveByteArray2
public static byte[][] newPrimitiveByteArray2(int size1, int size2, byte defaultValue) -
newPrimitiveByteArray2
public static byte[][] newPrimitiveByteArray2(int size1, byte[] defaultValue) -
newPrimitiveByteArray3
public static byte[][][] newPrimitiveByteArray3(int size1, int size2, int size3, byte defaultValue) -
newPrimitiveByteArray3
public static byte[][][] newPrimitiveByteArray3(int size1, int size2, byte[] defaultValue) -
newPrimitiveByteArray3
public static byte[][][] newPrimitiveByteArray3(int size1, byte[][] defaultValue) -
newPrimitiveByteArray4
public static byte[][][][] newPrimitiveByteArray4(int size1, int size2, int size3, int size4, byte defaultValue) -
newPrimitiveByteArray4
public static byte[][][][] newPrimitiveByteArray4(int size1, int size2, int size3, byte[] defaultValue) -
newPrimitiveByteArray4
public static byte[][][][] newPrimitiveByteArray4(int size1, int size2, byte[][] defaultValue) -
newPrimitiveByteArray4
public static byte[][][][] newPrimitiveByteArray4(int size1, byte[][][] defaultValue)
-