Skip to content

Instantly share code, notes, and snippets.

@amitshekhariitbhu
Last active July 10, 2016 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitshekhariitbhu/a717dc44dd6afbf80aeec61c2ae299c3 to your computer and use it in GitHub Desktop.
Save amitshekhariitbhu/a717dc44dd6afbf80aeec61c2ae299c3 to your computer and use it in GitHub Desktop.
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