UnmodifiableListView<E> constructor

UnmodifiableListView<E>(
  1. Iterable<E> source
)

Creates an unmodifiable list backed by source.

The source of the elements may be a List or any Iterable with efficient Iterable.length and Iterable.elementAt.

Implementation

UnmodifiableListView(Iterable<E> source) : _source = source;