|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectio.leopard.timer.MilliSecondPeriod
public class MilliSecondPeriod
周期毫秒.
| Constructor Summary | |
|---|---|
MilliSecondPeriod(long milliSecond)
构造周期 . |
|
| Method Summary | |
|---|---|
long |
getMilliSecond()
|
boolean |
sleep()
睡眠到周期到了 . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MilliSecondPeriod(long milliSecond)
second - 秒| Method Detail |
|---|
public long getMilliSecond()
public boolean sleep()
throws java.lang.InterruptedException
Period
sleep in interface Periodjava.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||