Lists
Date: 2017-02-08

org.apache.commons.compress.utils

## Class Lists

- java.lang.Object
- - org.apache.commons.compress.utils.Lists

-     public class Lists
      extends java.lang.Object

  List utilities
  Since:
    1.13

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <E> java.util.ArrayList<E>` | `newArrayList()` Creates a new `ArrayList`.
    `static <E> java.util.ArrayList<E>` | `newArrayList(java.util.Iterator<? extends E> iterator)` Creates a new `ArrayList` filled with the contents of the given `iterator`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### newArrayList

          public static <E> java.util.ArrayList<E> newArrayList()

      Creates a new `ArrayList`.
      Returns:
        a new `ArrayList`

    - #### newArrayList

          public static <E> java.util.ArrayList<E> newArrayList(java.util.Iterator<? extends E> iterator)

      Creates a new `ArrayList` filled with the contents of the given `iterator`.
      Parameters:
        `iterator` - the source iterator
      Returns:
        a new `ArrayList`