Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. SparseArray sparseArray = new SparseArray();
  2. sparseArray.put(1, “Value1”);
  3.  
  4. SparseLongArray sparseLongArray = new SparseLongArray();
  5. sparseLongArray.put(1, 1L);
  6.  
  7. SparseBooleanArray sparseBooleanArray = new SparseBooleanArray();
  8. sparseBooleanArray.put(1, true);
  9.  
  10. SparseIntArray sparseIntArray = new SparseIntArray();
  11. sparseIntArray.put(1, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement