Advertisement
Guest User

Untitled

a guest
Jan 11th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1.  /*
  2.   ParentClass
  3.      /\
  4.     A  B
  5.  
  6. */
  7.  
  8. //Type typeA = new TypeToken<List<A>>(){}.getType();
  9. //Type typeB = new TypeToken<List<B>>(){}.getType();
  10.  
  11.  
  12. //question -- how to extract a method from these two common lines of code?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement