IndexTracker

Set of functions to update buffers or sequences of indexes values in order to match corresponding buffer operations. Useful to track values and structures movement during buffer modifications.

class Object
trait Matchable
class Any

Value members

Concrete methods

final
def trackMoveRangeLeft(fromIndex: Int, toIndex: Int, distance: Int, indexes: IntBuffer): IntBuffer

Modify values in the index buffer tracking Buffer.moveRangeLeft operation effect.

Modify values in the index buffer tracking Buffer.moveRangeLeft operation effect.

final
def trackMoveRangeLeft[S <: Seq[Int]](fromIndex: Int, toIndex: Int, distance: Int, indexes: S): S

Modify values in the index buffer tracking Buffer.moveRangeLeft operation effect.

Modify values in the index buffer tracking Buffer.moveRangeLeft operation effect.

final
def trackMoveRangeRight(fromIndex: Int, toIndex: Int, distance: Int, indexes: IntBuffer): IntBuffer

Modify values in the index buffer tracking Buffer.moveRangeRight operation effect.

Modify values in the index buffer tracking Buffer.moveRangeRight operation effect.

final
def trackMoveRangeRight[S <: Seq[Int]](fromIndex: Int, toIndex: Int, distance: Int, indexes: S): S

Modify values in the index buffer tracking Buffer.moveRangeRight operation effect.

Modify values in the index buffer tracking Buffer.moveRangeRight operation effect.

final
def trackShiftLeft(index: Int, distance: Int, indexes: IntBuffer): IntBuffer

Modify values in the index buffer tracking Buffer.shiftLeft operation effect.

Modify values in the index buffer tracking Buffer.shiftLeft operation effect.

final
def trackShiftLeft[S <: Seq[Int]](index: Int, distance: Int, indexes: S): S

Modify the index sequence tracking Buffer.shiftLeft operation effect.

Modify the index sequence tracking Buffer.shiftLeft operation effect.

final
def trackShiftRight(index: Int, distance: Int, indexes: IntBuffer): IntBuffer

Modify values in the index buffer tracking Buffer.shiftRight operation effect.

Modify values in the index buffer tracking Buffer.shiftRight operation effect.

final
def trackShiftRight[S <: Seq[Int]](index: Int, distance: Int, indexes: S): S

Modify the index sequence tracking Buffer.shiftRight operation effect.

Modify the index sequence tracking Buffer.shiftRight operation effect.

final
def trackSwapRange(first: Int, second: Int, swapLength: Int, indexes: IntBuffer): IntBuffer

Modify values in the index buffer tracking Buffer.swapRange operation effect.

Modify values in the index buffer tracking Buffer.swapRange operation effect.

Note

removed values are marked with -1

final
def trackSwapRange[S <: Seq[Int]](first: Int, second: Int, swapLength: Int, indexes: S): S

Modify values in the index buffer tracking Buffer.swapRange operation effect.

Modify values in the index buffer tracking Buffer.swapRange operation effect.

Note

removed values are marked with -1