IntegersCursor
BatchCursor implementation specialized for Int
.
BatchCursor implementation specialized for Int
.
Under the hood it uses an ArrayCursor
implementation, which is @specialized
. Using IntegersCursor
might
be desirable instead for isInstanceOf
checks.
Value members
Concrete methods
Inherited methods
Applies a binary operator to a start value and all elements of this cursor, going left to right.
Applies a binary operator to a start value and all elements of this cursor, going left to right.
NOTE: applying this function on the cursor will consume it completely.
- Type Params
- R
is the result type of the binary operator.
- Value Params
- initial
is the start value.
- op
the binary operator to apply
- Returns
the result of inserting
op
between consecutive elements of this cursor, going left to right with the start valueinitial
on the left. Returnsinitial
if the cursor is empty.- Inherited from
- BatchCursor
Returns true
in case our cursor is empty or false
if there
are more elements to process.
Returns true
in case our cursor is empty or false
if there
are more elements to process.
Alias for !cursor.hasNext()
.
- Inherited from
- BatchCursor
Returns true
in case our cursor has more elements
to process or false
if the cursor is empty.
Returns true
in case our cursor has more elements
to process or false
if the cursor is empty.
Alias for hasNext.
- Inherited from
- BatchCursor
Converts this cursor into an Array
,
consuming it in the process.
Converts this cursor into an Array
,
consuming it in the process.
- Inherited from
- BatchCursor
Converts this cursor into a reusable array-backed Batch, consuming it in the process.
Converts this cursor into a reusable array-backed Batch, consuming it in the process.
- Inherited from
- BatchCursor
Converts this cursor into a Scala immutable List
,
consuming it in the process.
Converts this cursor into a Scala immutable List
,
consuming it in the process.
- Inherited from
- BatchCursor