Op

sealed trait Op

An ADT for all "operations" the diff algorithm can derive. Operations don't contain any elements themselves, they only hold indices into the base and target sequences for maximum efficiency.

An ADT for all "operations" the diff algorithm can derive. Operations don't contain any elements themselves, they only hold indices into the base and target sequences for maximum efficiency.

If you need something that holds all data required to transform base into target, including the actual elements, check out Patch.

Companion
object
class Object
trait Matchable
class Any
trait DelInsMov
trait DelIns
class Delete
class Insert
class Move
class Replace

Value members

Abstract methods

def baseIx: Int

the index of the first element in the base sequence that is affected by this operation

the index of the first element in the base sequence that is affected by this operation