SHARE
TWEET

Untitled

a guest Oct 10th, 2015 3 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public abstract class Command<T extends CommandListener> {
  2.     private final Class<T> listeningClass;
  3.     protected Command(final Class<T> listeningClass) {
  4.         this.listeningClass = listeningClass;
  5.     }
  6.     public abstract <U extends CommandListener> void execute(final U listener);
  7.     public final Class<T> getListeningClass() {
  8.         return listeningClass;
  9.     }
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top