MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / sleep

Method sleep

CodenameOne/src/com/codename1/io/Util.java:2333–2338  ·  view source on GitHub ↗
(int t)

Source from the content-addressed store, hash-verified

2331 ///
2332 /// - `t`: the time
2333 public static void sleep(int t) {
2334 try {
2335 Thread.sleep(t);
2336 } catch (InterruptedException e) {
2337 }
2338 }
2339
2340 /// Shorthand method wait method that doesn't throw the stupid interrupted checked exception, it also
2341 /// includes the synchronized block to further reduce code clutter

Callers 15

runMethod · 0.95
yieldTimeMethod · 0.95
runMethod · 0.95
runMethod · 0.95
getWebViewMethod · 0.95
runTestMethod · 0.95
testFileClassMethod · 0.95
runTestMethod · 0.95
runTestMethod · 0.95
testIOSThreadsError35Method · 0.95
runMethod · 0.95

Calls 1

sleepMethod · 0.95

Tested by 12

runTestMethod · 0.76
testFileClassMethod · 0.76
runTestMethod · 0.76
runTestMethod · 0.76
testIOSThreadsError35Method · 0.76
fetchPropertyDataMethod · 0.76
runTestMethod · 0.76
testIOSThreadsError35Method · 0.76
testIOSThreadsError35Method · 0.76