Advertisement
rfkrocktk

Behold the new Java "Bro" Class!

Dec 16th, 2011
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.51 KB | None | 0 0
  1. import java.lang.Thread;
  2.  
  3. /**
  4.  * Usage:
  5.  * Bro.chill(); // bro, chill.
  6.  * Bro.CHILL(); // CHILL, BRO!
  7.  * Bro.chill(10000L); // chills for like 10,000 milliseconds.
  8.  */
  9. public class Bro {
  10.  
  11.     public static void chill() {
  12.         Bro.chill(1000L);
  13.     }
  14.    
  15.     public static void chill(long millis) {
  16.         try {
  17.             Thread.sleep(millis);
  18.         } catch (InterruptedException e) {
  19.            
  20.         }
  21.     }
  22.    
  23.     public static void CHILL() {
  24.         Bro.chill(10000L);
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement