ListObj

object ListObj extends Type
Companion
class
trait Type
trait Type
class Object
trait Matchable
class Any

Type members

Classlikes

final case
class Added[A](index: Int, elem: A) extends Change[A]
sealed
trait Change[+A]
object Modifiable
Companion
class
trait Modifiable[T <: Txn[T], A] extends ListObj[T, A] with Node[T]

Modifiable extension of the linked list. Elements can be appended or prepended in O(1). Removal of the head or last element is O(1). Arbitrary removal takes O(N).

Modifiable extension of the linked list. Elements can be appended or prepended in O(1). Removal of the head or last element is O(1). Arbitrary removal takes O(N).

Companion
object
final case
class Removed[A](index: Int, elem: A) extends Change[A]
final case
class Update[T <: Txn[T], A, +Repr <: ListObj[T, A]](list: Repr, changes: IndexedSeq[Change[A]])

Value members

Concrete methods

def read[T <: Txn[LazyRef(...)], A <: Elem[T]](in: DataInput)(implicit tx: T): ListObj[T, A]
override
def readIdentifiedObj[T <: Txn[LazyRef(...)]](in: DataInput)(implicit tx: T): Obj[T]
Definition Classes
Type -> Type

Inherited methods

override
def init(): Unit
Definition Classes
Type -> Type
Inherited from
Type
final override
def readObj[T <: Txn[LazyRef(...)]](in: DataInput)(implicit tx: T): Obj[T]
Definition Classes
Type -> Type
Inherited from
Type

Concrete fields

final
val typeId: 23

Implicits

Implicits

implicit
def format[T <: Txn[LazyRef(...)], A <: Elem[T]]: TFormat[T, ListObj[T, A]]