Advertisement
Guest User

Untitled

a guest
Apr 10th, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. interface Foo<T> {
  2.  
  3. Collection<T> blah();
  4. }
  5.  
  6. class FooImpl<T> implements Foo<T> {
  7.  
  8. @Override
  9. public List<T> blah() {
  10. return null;
  11. }
  12. }
  13.  
  14. class FooExt<T> extends FooImpl<T> {
  15.  
  16. @Override
  17. public ArrayList<T> blah() {
  18. return null;
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement