Static Public Member Functions | |
Object | concatArrays (final Object[] one, final Object[] two, Class componentType) |
Object | concatArrays (final Object[] one, final Object[] two, final Object[] three, Class componentType) |
Object | concatArrays (final Object[][] origMatrix) |
Object | concatArrays (final Object[][] origMatrix, final int totalLength) |
void | printArray (final Object[] array, int indent) |
String | toString (final Object[] array, int indent, boolean oneLine, boolean numbered) |
Object | pruneNullElements (Object[] array) |
Object | pruneNullElements (Object[] array, boolean onlyAtEnd) |
boolean | allElementsSameType (Object[] array) |
void | sleep (long millis) |
|
An utility method that checks whether all the elements in the array are of the same type it returns false if the array contains a mix of classes and sub-classes of the Array component type.
|
|
An utility method that concatenates many arrays to one. The type of the returned array are derived from the type of the origMatrix parameter, the length is specified.
|
|
An utility method that concatenates many arrays to one. The type and the length of the returned array are derived from the type of the origMatrix parameter
|
|
An utility method that concatenates three arrays to one
|
|
An utility method that concatenates two arrays to one
|
|
utility method, prints out an array using the toString() method of the members.
|
|
prunes the null elements at the tail of an array. In the present implementation, onlyAtEnd must be true
|
|
A utility method that cuts off null-elements at the end of an array.
|
|
Utility method, sleeps for the indicated millis. Useful because it can be called in user programs without need to code the try/catch clauses.
|
|
utility method, transforms the array into a String that can either be multi-line or on one line.
|