Пример #1
0
 public void waitLimit(int msTime) {
   int spend = Timer.spend();
   if (msTime > spend) {
     LogEx.i("limited time:  wait...");
     sleep(msTime - spend);
   }
 }
Пример #2
0
 public void startLimit() {
   Timer.start();
 }