|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.moyoman.util.igo.Uti
a utility class
| Constructor Summary | |
Uti()
|
|
| Method Summary | |
static String |
dateTime(String type)
Get date-time. |
static int |
random(int index)
get random number. |
static void |
sleep(int t)
time delay. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Uti()
| Method Detail |
public static int random(int index)
index - Limit of the random number.
Return a number from 0 to (index - 1).public static void sleep(int t)
t - Time to delay.(msec)public static String dateTime(String type)
type - The type of the format of output.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||