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 Map[T, A]
trait Set[T]

Type members

Types

type E

Value members

Abstract methods

def head(implicit 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(implicit 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)(implicit tx: T): List[Int]

Inherited methods

def dispose()(implicit 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