Tag: array to list

Array to List Java

April 14, 2013 · 1 min read
##### After knowing how to [convert list to array](http://way2java.com/arrays/arraylist-to-array/), let us do the other way array to list java.

Java Shuffle Array shuffle()

September 21, 2011 · 3 min read
Java [collections framework](http://way2java.com/collections/java-collections-framework/) comes with two classes [Collections](http://way2java.com/collections/collections-api-methods/) and [Arrays](http://way2java.com/collections/class-arrays-api-methods/) (from java.util) to operate on the elements of collection classes (data structures) and arrays. To shuffle the elements of a data structure, the Collections class includes a method **shuffle()** but [Arrays class](http://way2java.com/collections/class-arrays-api-methods/) does not come with one.