Guest User

Untitled

a guest
Feb 9th, 2015
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. List<Integer> aList = new ArrayList<>();
  2.         aList.add(new Random().nextInt());
  3.         aList.add(new Random().nextInt());
  4.         aList.add(new Random().nextInt());
  5.         aList.add(new Random().nextInt());
  6.         StreamSupport.stream(aList)
  7.                 .map(el -> el.hashCode())
  8.                 .forEach(el-> Log.d("SERVICE", String.valueOf(el)));
Advertisement
Add Comment
Please, Sign In to add comment