trait IndexedView [ +A ]
extends View with ArrayLike

View defined in terms of indexing a range

Constructors

Members

override def drop ( n: Int ) : IndexedView [ A ]

The rest of the collection without its n first elements. For linear, immutable collections this should avoid making a copy.

The rest of the collection without its n first elements. For linear, immutable collections this should avoid making a copy.

def iterator : Iterator [ A ]
override def map ( f: A => B ) : IndexedView [ B ]

Map

Map

def reverse : IndexedView [ A ]
override def take ( n: Int ) : IndexedView [ A ]

A collection containing the first n elements of this collection.

A collection containing the first n elements of this collection.