|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectlejosunit.util.Util
Some utility methods used in leJOSUnit.
| Constructor Summary | |
Util()
|
|
| Method Summary | |
static void |
arraycopy(char[] src,
int srcOffset,
char[] dest,
int destOffset,
int length)
Copies one array to another. |
static java.lang.String |
concat(java.lang.String s1,
java.lang.String s2)
Concatenates two Strings without using StringBuffer, to avoid linking StringBuffer and therefore Math library. |
static java.lang.String |
concat(java.lang.String s1,
java.lang.String s2,
java.lang.String s3)
Concatenates three Strings without using StringBuffer, to avoid linking StringBuffer and therefore Math library. |
static char[] |
convertTime(int t)
Show elapsed time in an optimal way. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Util()
| Method Detail |
public static void arraycopy(char[] src,
int srcOffset,
char[] dest,
int destOffset,
int length)
src - the source arraysrcOffset - the offset within source arraydest - the destination arraydestOffset - the offset within destination arraylength - the number of chars to copy
public static java.lang.String concat(java.lang.String s1,
java.lang.String s2)
s1 - the first strings2 - the second string
public static java.lang.String concat(java.lang.String s1,
java.lang.String s2,
java.lang.String s3)
s1 - the first strings2 - the second strings3 - the third string
public static char[] convertTime(int t)
t - the elapsed time
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||