Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface ObjectSupport<T> {
- public boolean equals(T self, T other);
- public int hashCode(T obj);
- public static <T, U extends ObjectSupport<T>> T of(Lookup lookup, Class<U> iface, Class<T> obj) {
- // impl details
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement