@@ -0,0 +1,481 @@
+package com.leftindust.SimpleJava.timemanager;%0A%0A/**%0A * @author Daniel Shirvani%0A * @version 1.0%0A */%0Apublic class CodeRest %7B%0A%09Thread t;%0A%09%0A%09/**%0A%09 * Once called, will start to rest code for a set amount of milliseconds.%0A%09 * @param millis Time in milliseconds code shall rest.%0A%09 */%0A%09@SuppressWarnings(%22static-access%22)%0A%09public CodeRest(long millis) %7B%0A%09%09t = new Thread();%0A%09%09t.start();%0A%09%09try %7B%0A%09%09%09t.sleep(millis);%0A%09%09%7D catch (InterruptedException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%09%0A%09%0A%0A%7D%0A

Create CodeRest.java