Packages

trait Modifiable[T <: Txn[T], A] extends ListObj[T, A] with Node[T]

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[T], ListObj[T, A], 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. Modifiable
  2. Node
  3. ListObj
  4. Obj
  5. Mutable
  6. Identified
  7. Elem
  8. Publisher
  9. Disposable
  10. Writable
  11. Form
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def addHead(elem: A)(implicit tx: T): Unit
  2. abstract def addLast(elem: A)(implicit tx: T): Unit
  3. abstract def apply(index: Int)(implicit tx: T): A
    Definition Classes
    ListObj
  4. abstract def changed: EventLike[T, Update[T, A, Modifiable[T, A]]]
    Definition Classes
    ModifiablePublisher
  5. abstract def clear()(implicit tx: T): Unit
  6. abstract def disposeData()(implicit tx: T): Unit
    Attributes
    protected
    Definition Classes
    Node
  7. abstract def get(index: Int)(implicit tx: T): Option[A]
    Definition Classes
    ListObj
  8. abstract def head(implicit tx: T): A
    Definition Classes
    ListObj
  9. abstract def headOption(implicit tx: T): Option[A]
    Definition Classes
    ListObj
  10. abstract def indexOf(elem: A)(implicit tx: T): Int

    Note: this is an O(n) operation.

    Note: this is an O(n) operation.

    Definition Classes
    ListObj
  11. abstract def insert(index: Int, elem: A)(implicit tx: T): Unit
  12. abstract def isEmpty(implicit tx: T): Boolean
    Definition Classes
    ListObj
  13. abstract def iterator(implicit tx: T): Iterator[A]
    Definition Classes
    ListObj
  14. abstract def last(implicit tx: T): A
    Definition Classes
    ListObj
  15. abstract def lastOption(implicit tx: T): Option[A]
    Definition Classes
    ListObj
  16. abstract def modifiableOption: Option[Modifiable[T, A]]
    Definition Classes
    ListObj
  17. abstract def nonEmpty(implicit tx: T): Boolean
    Definition Classes
    ListObj
  18. abstract def remove(elem: A)(implicit tx: T): Boolean
  19. abstract def removeAt(index: Int)(implicit tx: T): A
  20. abstract def removeHead()(implicit tx: T): A
  21. abstract def removeLast()(implicit tx: T): A
  22. abstract def size(implicit tx: T): Int
    Definition Classes
    ListObj
  23. abstract def targets: Targets[T]
    Attributes
    protected
    Definition Classes
    Node
  24. abstract def tpe: Type
    Definition Classes
    ObjElem
  25. abstract def writeData(out: DataOutput): Unit
    Attributes
    protected
    Definition Classes
    Node

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 dispose()(implicit tx: T): Unit
    Definition Classes
    NodeDisposable
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean
    Definition Classes
    Identified → AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    Identified → AnyRef → Any
  12. final def id: Ident[T]
    Definition Classes
    NodeIdentified
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    Node → AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def write(out: DataOutput): Unit
    Definition Classes
    NodeWritable

Deprecated Value Members

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

Inherited from Node[T]

Inherited from ListObj[T, A]

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