Packages

trait ListObj[T <: Txn[T], A] extends Obj[T] with Publisher[T, Update[T, A, ListObj[T, A]]]

An observable linked list with fast head and last operations. This is the read-only layer, see List.Modifiable for a mutable list.

The list will report insertions and deletions.

A

the element type of the list

Linear Supertypes
Obj[T], Mutable[T], Identified[T], Elem[T], Publisher[T, Update[T, A, ListObj[T, A]]], Disposable[T], Writable, Form[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ListObj
  2. Obj
  3. Mutable
  4. Identified
  5. Elem
  6. Publisher
  7. Disposable
  8. Writable
  9. Form
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(index: Int)(implicit tx: T): A
  2. abstract def changed: EventLike[T, Update[T, A, ListObj[T, A]]]
    Definition Classes
    Publisher
  3. abstract def dispose()(implicit tx: T): Unit
    Definition Classes
    Disposable
  4. abstract def get(index: Int)(implicit tx: T): Option[A]
  5. abstract def head(implicit tx: T): A
  6. abstract def headOption(implicit tx: T): Option[A]
  7. abstract def id: Ident[T]
    Definition Classes
    Identified
  8. abstract def indexOf(elem: A)(implicit tx: T): Int

    Note: this is an O(n) operation.

  9. abstract def isEmpty(implicit tx: T): Boolean
  10. abstract def iterator(implicit tx: T): Iterator[A]
  11. abstract def last(implicit tx: T): A
  12. abstract def lastOption(implicit tx: T): Option[A]
  13. abstract def modifiableOption: Option[Modifiable[T, A]]
  14. abstract def nonEmpty(implicit tx: T): Boolean
  15. abstract def size(implicit tx: T): Int
  16. abstract def tpe: Type
    Definition Classes
    ObjElem
  17. abstract def write(out: DataOutput): Unit
    Definition Classes
    Writable

Concrete Value Members

  1. final def attr(implicit tx: T): AttrMap[T]
    Definition Classes
    Obj
  2. def equals(that: Any): Boolean
    Definition Classes
    Identified → AnyRef → Any
  3. def hashCode(): Int
    Definition Classes
    Identified → AnyRef → Any
  4. def toString(): String
    Definition Classes
    Obj → AnyRef → Any