|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectjAudioFeatureExtractor.GeneralTools.GeneralMethods
public class GeneralMethods
A holder class for general static methods that can be used for a wide variety of purposes.
Constructor Summary | |
---|---|
GeneralMethods()
|
Method Summary | |
---|---|
static java.lang.Object[] |
concatenateArray(java.lang.Object[] array_1,
java.lang.Object[] array_2)
Returns a new array whose first part consists of the elements of array_1 and whose second part consists of the elements of array_2. |
static java.lang.Object[] |
getCopyOfArray(java.lang.Object[] given_array)
Returns a copy of the given array. |
static java.lang.Object[] |
removeNullEntriesFromArray(java.lang.Object[] array)
Returns a shortened array, with all entries that were set to null removed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneralMethods()
Method Detail |
---|
public static java.lang.Object[] removeNullEntriesFromArray(java.lang.Object[] array)
array
- The array to remove null entries from.
public static java.lang.Object[] getCopyOfArray(java.lang.Object[] given_array)
given_array
- The array to copy
public static java.lang.Object[] concatenateArray(java.lang.Object[] array_1, java.lang.Object[] array_2)
array_1
- The first array to concatenate.array_2
- The second array to concatenate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |