Concrete collection type: ArrayBuffer
Constructors
Members
Overridden to use array copying for efficiency where possible.
Overridden to use array copying for efficiency where possible.
Append an element
Append an element
The class name of this collection. To be used for converting to string. Collections generally print like this:
<className>(elem_1, ..., elem_n)
The class name of this collection. To be used for converting to string. Collections generally print like this:
<className>(elem_1, ..., elem_n)
The number of elements in this collection, if it can be cheaply computed, -1 otherwise. Cheaply usually means: Not requiring a collection traversal.
The number of elements in this collection, if it can be cheaply computed, -1 otherwise. Cheaply usually means: Not requiring a collection traversal.
Creates a new builder.
Creates a new builder.
Result collection consisting of all elements appended so far.
Result collection consisting of all elements appended so far.
A collection containing the first n
elements of this collection.
A collection containing the first n
elements of this collection.
New operation: destructively drop elements at start of buffer.
New operation: destructively drop elements at start of buffer.
A view representing the elements of this collection.
A view representing the elements of this collection.