- clone
- create
Creates a new vector.
- len
Returns the number of elements in the vector.
- push
Appends an element to the vector.
- reserveAdditional
Reserves capacity for at least additional more elements to be inserted into the
vector. The vector m
- toArray
- truncate
Shorten the vector to be len elements long. If len is greater than the vector's
current length, this
- withCapacity
Creates a new vector with the specified capacity.
- append
Appends the bytes from another byte array to this vec.
- asList
Returns a list view of the vector. The vector should not be concurrently
modified while the list is
- capacity
Returns the number of elements the vector can hold without reallocating.
- data
Returns the primitive array backing the vector. The caller should not modify the
array.