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 !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def attr(implicit tx: T): AttrMap[T]
    Definition Classes
    Obj
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(that: Any): Boolean
    Definition Classes
    Identified → AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    Identified → AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    Obj → AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Obj[T]

Inherited from Mutable[T]

Inherited from Identified[T]

Inherited from Elem[T]

Inherited from Publisher[T, Update[T, A, ListObj[T, A]]]

Inherited from Disposable[T]

Inherited from Writable

Inherited from Form[T]

Inherited from AnyRef

Inherited from Any

Ungrouped