Created
April 19, 2011 14:44
-
-
Save casey-chow/928131 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long deadline = date.getTime() + 3000; | |
System.out.println(deadline); | |
System.out.println(Long.toString(date.getTime())); | |
while (date.getTime() < deadline) { | |
boolean enter = input.hasNextByte(); | |
if (enter == true) { | |
misc.fast = true; | |
} | |
try { | |
Thread.sleep(5); | |
} catch (InterruptedException e) { e.printStackTrace();} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment