de.sciss.lucre.expr.List

Modifiable

trait Modifiable[S <: Sys[S], A] extends List[S, A] 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], List[S, A], 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. Modifiable
  2. Node
  3. List
  4. Obj
  5. Mutable
  6. Identifiable
  7. Elem
  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: A)(implicit tx: S.Tx): Unit

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

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

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

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

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

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

    Definition Classes
    List
  10. abstract def indexOf(elem: A)(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: A)(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[A]

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

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

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

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

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

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

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

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

  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 tpe: Type

    Definition Classes
    Obj → Elem
  25. 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. final def attr(implicit tx: S.Tx): AttrMap[S]

    Definition Classes
    Obj
  8. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Identifiable → AnyRef → Any
  15. final def id: S.ID

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

    Definition Classes
    Any
  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 wait(): Unit

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

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

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

    Definition Classes
    Node → Writable

Inherited from Node[S]

Inherited from List[S, A]

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