Advertisement
Guest User

Untitled

a guest
Jul 10th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. public class T implements Parcelable{
  2.  
  3. ...
  4.  
  5. public static Comparator<GenericShort> Compare = new Comparator<T>() {...}
  6.  
  7. ...
  8.  
  9. public void writeToParcel(Parcel out, int flags) {
  10. //how to write "Compare"
  11. }
  12.  
  13. private T(Parcel in) {
  14. //how to read "Compare"
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement