Advertisement
Guest User

Untitled

a guest
May 19th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement