IndexTracker

com.github.arturopala.bufferandslice.IndexTracker
object 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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Note

removed values are marked with -1