Class Lists
java.lang.Object
org.apache.commons.compress.utils.Lists
List utilities
- Since:
- 1.13
-
Method Details
-
newArrayList
Creates a newArrayList
.- Type Parameters:
E
- type of elements contained in new list- Returns:
- a new
ArrayList
-
newArrayList
Creates a newArrayList
filled with the contents of the giveniterator
.- Type Parameters:
E
- type of elements contained in new list- Parameters:
iterator
- the source iterator- Returns:
- a new
ArrayList
-