Last active
July 10, 2016 17:01
-
-
Save amitshekhariitbhu/a717dc44dd6afbf80aeec61c2ae299c3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public class PriorityRunnable implements Runnable { | |
private final Priority priority; | |
public PriorityRunnable(Priority priority) { | |
this.priority = priority; | |
} | |
@Override | |
public void run() { | |
// nothing to do here. | |
} | |
public Priority getPriority() { | |
return priority; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment