TotalOrder

sealed trait TotalOrder[T <: Exec[T]] extends Mutable[T]
Companion
object
trait Mutable[T]
trait Disposable[T]
trait Writable
trait Identified[T]
class Object
trait Matchable
class Any
trait Set[T]
trait Map[T, A]

Type members

Types

type E

Value members

Abstract methods

def head(tx: T): E

Returns the head element of the structure. Note that this is O(n) worst case.

Returns the head element of the structure. Note that this is O(n) worst case.

def root: E

The initial element created from which you can start to append and prepend.

The initial element created from which you can start to append and prepend.

def size(tx: T): Int

The number of elements in the order. This is 1 for a newly created order (consisting only of the root element). You will rarely need this information except for debugging purpose. The operation is O(1).

The number of elements in the order. This is 1 for a newly created order (consisting only of the root element). You will rarely need this information except for debugging purpose. The operation is O(1).

def tagList(from: E)(tx: T): List[Int]

Inherited methods

def dispose(tx: T): Unit
Inherited from
Disposable
override def equals(that: Any): Boolean
Definition Classes
Identified -> Any
Inherited from
Identified
override def hashCode: Int
Definition Classes
Identified -> Any
Inherited from
Identified
def id: Ident[T]
Inherited from
Identified
def write(out: DataOutput): Unit
Inherited from
Writable