public interface CollectionUtil
| Modifier and Type | Method and Description |
|---|---|
static float[] |
arrayCopy(float[] arrayToCopy)
Copy an array.
|
static <T> T[] |
arrayCopy(T[] arrayToCopy)
Copy an array.
|
static boolean |
checkBiggerOrEqual(float[] a,
float[] b)
Check that every float in the first array are bigger than the second at
the same index.
|
static void |
cloneArray(float[] destination,
float[] dataToCopy)
Fill an array with the content of another.
|
static byte[] |
concatByteArrays(byte[] array1,
byte[] array2)
Concatenate 2 arrays of bytes.
|
static <K,V> Set<V> |
getOrCreateSetFromMap(Map<K,Set<V>> map,
K key) |
static float[] arrayCopy(float[] arrayToCopy)
arrayToCopy - Array to copy.static <T> T[] arrayCopy(T[] arrayToCopy)
T - Type of objects in array.arrayToCopy - Array to copy.static boolean checkBiggerOrEqual(float[] a,
float[] b)
false.a - First array to check.b - Second array to check.true if all element at same index of first array are
bigger than in second array.static void cloneArray(float[] destination,
float[] dataToCopy)
destination - Array to fill.dataToCopy - Array to get data.static byte[] concatByteArrays(byte[] array1,
byte[] array2)
array1 - The first array.array2 - The second array.Copyright © 2017. All rights reserved.