de.sciss.lucre.expr

List

Related Docs: object List | package expr

trait List[S <: Sys[S], Elem, U] extends Writable with Disposable[expr.List.S.Tx] with Publisher[S, Update[S, Elem, U]]

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, as well as forward designated element events of type U.

Elem

the element type of the list

U

the updates fired by the element type

Linear Supertypes
Publisher[S, Update[S, Elem, U]], Disposable[S.Tx], Writable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. List
  2. Publisher
  3. Disposable
  4. Writable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(index: Int)(implicit tx: S.Tx): Elem

  2. abstract def changed: EventLike[S, Update[S, Elem, U]]

    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[Elem]

  5. abstract def head(implicit tx: S.Tx): Elem

  6. abstract def headOption(implicit tx: S.Tx): Option[Elem]

  7. abstract def indexOf(elem: Elem)(implicit tx: S.Tx): Int

     Note: this is an O(n) operation.

  8. abstract def isEmpty(implicit tx: S.Tx): Boolean

  9. abstract def iterator(implicit tx: S.Tx): Iterator[S.Tx, Elem]

  10. abstract def last(implicit tx: S.Tx): Elem

  11. abstract def lastOption(implicit tx: S.Tx): Option[Elem]

  12. abstract def modifiableOption: Option[Modifiable[S, Elem, U]]

  13. abstract def nonEmpty(implicit tx: S.Tx): Boolean

  14. abstract def size(implicit tx: S.Tx): Int

  15. 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. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Definition Classes
    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
  14. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  16. def toString(): String

    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Publisher[S, Update[S, Elem, U]]

Inherited from Disposable[S.Tx]

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped