a guest May 19th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. interface ObjectSupport<T> {
  2.     public boolean equals(T self, T other);
  3.     public int hashCode(T obj);
  4.     public static <T, U extends ObjectSupport<T>> T of(Lookup lookup, Class<U> iface, Class<T> obj) {
  5.        // impl details
  6.     }
  7. }
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