Skip to content
Snippets Groups Projects
Commit e66dfe4b authored by Jan Schäfer's avatar Jan Schäfer
Browse files

added sleep method to JCoBox class that takes a TimeUnit

parent bb50f8a6
Branches
Tags v0.1.1
No related merge requests found
......@@ -104,6 +104,10 @@ public class JCoBox {
e.printStackTrace();
}
}
public static void sleep(int duration, TimeUnit unit) {
sleep(unit.toMillis(duration));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment