net.ranides.assira.collection
Class ByteArrays
java.lang.Object
net.ranides.assira.collection.ByteArrays
public final class ByteArrays
- extends Object
- Author:
- ranides
|
Method Summary |
static byte[] |
concat(byte[] first,
byte[] second)
|
static boolean |
isEqual(byte[] array1,
byte[] array2)
Porównuje zawartość tablic, i zwraca true, jeśli są równe. |
static boolean |
isEqual(int size,
byte[] array1,
byte[] array2)
Porównuje pierwsze size elementów w tablicach, i zwraca true,
jeśli są równe. |
static byte[] |
make(int size,
byte value)
|
static byte |
shift(byte[] values)
|
static byte |
unshift(byte[] values)
|
make
public static byte[] make(int size,
byte value)
shift
public static byte shift(byte[] values)
unshift
public static byte unshift(byte[] values)
concat
public static byte[] concat(byte[] first,
byte[] second)
isEqual
public static boolean isEqual(byte[] array1,
byte[] array2)
- Porównuje zawartość tablic, i zwraca
true, jeśli są równe.
- Parameters:
array1 - array2 -
- Returns:
isEqual
public static boolean isEqual(int size,
byte[] array1,
byte[] array2)
- Porównuje pierwsze
size elementów w tablicach, i zwraca true,
jeśli są równe.
- Parameters:
size - array1 - array2 -
- Returns:
Copyright © 2013. All Rights Reserved.