ArraySliceLike
Common functions of an array-backed Slice.
- Type Params
- T
-
type of the array's items
- Note
- Truly immutable only if an underlying array kept private, or if detached.
Document{}
protected def wrap(fromIndex: Int, toIndex: Int, array: Array[T], detached: Boolean): ArraySliceLike
Wraps an array preserving current Slice type.
Returns iterator over Slice indexes of values fulfilling the predicate, in the reverse order.
- Inhertied from
- Slice
Returns iterator over Slice values fulfilling the predicate, in the reverse order.
- Inhertied from
- Slice
Value members
Methods
@inline
Lazily composes mapping function and returns new LazyMapArraySlice.
Does not modify nor copy underlying array.
Does not modify nor copy underlying array.
- Definition Classes