de.sciss.lucre.expr.List

Modifiable

trait Modifiable[S <: Sys[S], Elem, U] extends List[S, Elem, U] with Node[S]

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).

Linear Supertypes
Node[S], VirtualNode[S], Reactor[S], Mutable[S.ID, S.Tx], Identifiable[S.ID], List[S, Elem, U], Publisher[S, Update[S, Elem, U]], Disposable[S.Tx], Writable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Modifiable
  2. Node
  3. VirtualNode
  4. Reactor
  5. Mutable
  6. Identifiable
  7. List
  8. Publisher
  9. Disposable
  10. Writable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def addHead(elem: Elem)(implicit tx: S.Tx): Unit

  2. abstract def addLast(elem: Elem)(implicit tx: S.Tx): Unit

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

    Definition Classes
    List
  4. abstract def changed: EventLike[S, Update[S, Elem, U]]

    Definition Classes
    Publisher
  5. abstract def clear()(implicit tx: S.Tx): Unit

  6. abstract def disposeData()(implicit tx: S.Tx): Unit

    Attributes
    protected
    Definition Classes
    Node
  7. abstract def get(index: Int)(implicit tx: S.Tx): Option[Elem]

    Definition Classes
    List
  8. abstract def head(implicit tx: S.Tx): Elem

    Definition Classes
    List
  9. abstract def headOption(implicit tx: S.Tx): Option[Elem]

    Definition Classes
    List
  10. abstract def indexOf(elem: Elem)(implicit tx: S.Tx): Int

     Note: this is an O(n) operation.

     Note: this is an O(n) operation.

    Definition Classes
    List
  11. abstract def insert(index: Int, elem: Elem)(implicit tx: S.Tx): Unit

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

    Definition Classes
    List
  13. abstract def iterator(implicit tx: S.Tx): Iterator[S.Tx, Elem]

    Definition Classes
    List
  14. abstract def last(implicit tx: S.Tx): Elem

    Definition Classes
    List
  15. abstract def lastOption(implicit tx: S.Tx): Option[Elem]

    Definition Classes
    List
  16. abstract def modifiableOption: Option[Modifiable[S, Elem, U]]

    Definition Classes
    List
  17. abstract def nonEmpty(implicit tx: S.Tx): Boolean

    Definition Classes
    List
  18. abstract def remove(elem: Elem)(implicit tx: S.Tx): Boolean

  19. abstract def removeAt(index: Int)(implicit tx: S.Tx): Elem

  20. abstract def removeHead()(implicit tx: S.Tx): Elem

  21. abstract def removeLast()(implicit tx: S.Tx): Elem

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

    Definition Classes
    List
  23. abstract def targets: Targets[S]

    Attributes
    protected
    Definition Classes
    Node
  24. abstract def writeData(out: DataOutput): Unit

    Attributes
    protected
    Definition Classes
    Node

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def dispose()(implicit tx: S.Tx): Unit

    Definition Classes
    Node → Disposable
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(that: Any): Boolean

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

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

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

    Definition Classes
    Reactor → AnyRef → Any
  14. final def id: S.ID

    Definition Classes
    Node → Identifiable
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def isInvalid(implicit tx: S.Tx): Boolean

    Attributes
    protected
    Definition Classes
    Node
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    Node → AnyRef → Any
  22. final def validated()(implicit tx: S.Tx): Unit

    Attributes
    protected
    Definition Classes
    Node
  23. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def write(out: DataOutput): Unit

    Definition Classes
    Node → Writable

Inherited from Node[S]

Inherited from VirtualNode[S]

Inherited from Reactor[S]

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

Inherited from Identifiable[S.ID]

Inherited from List[S, Elem, U]

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

Inherited from Disposable[S.Tx]

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped