There are various places around leveluplunch that show the power of guava's Lists
utility class such as functions example, reverse elements in list, partition list, and many places that use Lists.newArrayList()
. This example will try to bring a few together on one page.
Create new list
Create new list w/ parameters
Create list with capacity
Create new list w/ expected size
Unmodifiable list
Parition list
Reverse list