|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uio.edd.utils.datautils.EddDataUtils
public class EddDataUtils
Constructor Summary | |
---|---|
EddDataUtils()
|
Method Summary | |
---|---|
static java.lang.Object[] |
arrayNoNulls(java.lang.Object[] inArr)
Removes all nulls in the array, including trailing nulls. |
static int |
countArrayNonnull(java.lang.Object[] inArr)
Count all non-null objects in an array. |
static java.lang.String[] |
enumerateList(int start,
int end,
java.lang.String prefix)
Makes a list of strings, each consisting of a number counting from start to end prefixed by the prefix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EddDataUtils()
Method Detail |
---|
public static int countArrayNonnull(java.lang.Object[] inArr)
inArr
- The input array.
public static java.lang.Object[] arrayNoNulls(java.lang.Object[] inArr)
inArr
- The array to be reduced
public static java.lang.String[] enumerateList(int start, int end, java.lang.String prefix)
start
- Where to start.end
- Where to end.prefix
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |