SpecializedIndexed
A deconstructor for an array-backed collection (Array, ArraySeq and, on Scala 3 only, IArray) that also reads an element by index. elementType tells which of the typed readers fits, and index must be in 0 until size(c).
Attributes
- Source
- SeqDeconstructor.scala
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Returns the Boolean element of c at index.
Returns the Byte element of c at index.
Returns the Char element of c at index.
Returns the Double element of c at index.
Returns the register type of the elements of c, from the runtime class of its array: a primitive RegisterType for an array of Boolean, Byte, Short, Int, Long, Float, Double or Char, and RegisterType.Object() for any other array.
Returns the register type of the elements of c, from the runtime class of its array: a primitive RegisterType for an array of Boolean, Byte, Short, Int, Long, Float, Double or Char, and RegisterType.Object() for any other array.
Attributes
- Source
- SeqDeconstructor.scala
Returns the Float element of c at index.
Returns the Int element of c at index.
Returns the Long element of c at index.
Returns the element of c at index.
Returns the Short element of c at index.
Inherited and Abstract methods
Returns an iterator over the elements of c, in its iteration order.
Returns an iterator over the elements of c, in its iteration order.
Attributes
- Inherited from:
- SeqDeconstructor
- Source
- SeqDeconstructor.scala
Returns the number of elements of c.
Returns the number of elements of c.
Attributes
- Inherited from:
- SeqDeconstructor
- Source
- SeqDeconstructor.scala