trait List[S <: Sys[S], A] extends Obj[S] with Publisher[S, Update[S, 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[S], Mutable[S.ID, S.Tx], Identifiable[S.ID], Elem[S], Publisher[S, Update[S, A]], Disposable[S.Tx], Writable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. List
  2. Obj
  3. Mutable
  4. Identifiable
  5. Elem
  6. Publisher
  7. Disposable
  8. Writable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

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

     Note: this is an O(n) operation.

  9. abstract def isEmpty(implicit tx: S.Tx): Boolean
  10. abstract def iterator(implicit tx: S.Tx): Iterator[A]
  11. abstract def last(implicit tx: S.Tx): A
  12. abstract def lastOption(implicit tx: S.Tx): Option[A]
  13. abstract def modifiableOption: Option[Modifiable[S, A]]
  14. abstract def nonEmpty(implicit tx: S.Tx): Boolean
  15. abstract def size(implicit tx: S.Tx): Int
  16. abstract def tpe: Type
    Definition Classes
    Obj → Elem
  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: S.Tx): AttrMap[S]
    Definition Classes
    Obj
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    Obj → AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Obj[S]

Inherited from Mutable[S.ID, S.Tx]

Inherited from Identifiable[S.ID]

Inherited from Elem[S]

Inherited from Publisher[S, Update[S, A]]

Inherited from Disposable[S.Tx]

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped