Class ArrayListView<T>

java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
de.xima.fc.common.collection.ArrayListView<T>
Type Parameters:
T - the type of elements in the list
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, List<T>

public final class ArrayListView<T> extends AbstractList<T> implements Serializable
An unmodifiable view of an array as a list.
Since:
8.5.0
See Also:
  • Constructor Details

    • ArrayListView

      public ArrayListView(T[] array)
      Constructs a new list view of the specified array.
      Parameters:
      array - The array to be viewed as a list. null is treated as an empty array.
  • Method Details