Package de.renebergelt.quiterables
Interface PrimitiveArrayTransformer<T>
public interface PrimitiveArrayTransformer<T>
Helper class to convert an Iterable to primitive arrays
- Author:
- René Bergelt
-
Method Summary
Modifier and TypeMethodDescriptionboolean[]Transform to a boolean arraybyte[]Transform to a byte arraychar[]Transform to a char arraydouble[]Transform to a double arrayfloat[]Transform to a float arrayint[]intArray()Transform to an int arraylong[]Transform to a long arrayshort[]Transform to a short array
-
Method Details
-
intArray
int[] intArray()Transform to an int array- Returns:
- int array of elements
-
shortArray
short[] shortArray()Transform to a short array- Returns:
- short array of elements
-
longArray
long[] longArray()Transform to a long array- Returns:
- long array of elements
-
floatArray
float[] floatArray()Transform to a float array- Returns:
- float array of elements
-
doubleArray
double[] doubleArray()Transform to a double array- Returns:
- double array of elements
-
byteArray
byte[] byteArray()Transform to a byte array- Returns:
- byte array of elements
-
booleanArray
boolean[] booleanArray()Transform to a boolean array- Returns:
- boolean array of elements
-
charArray
char[] charArray()Transform to a char array- Returns:
- char array of elements
-