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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Modifiable
- Node
- ListObj
- Obj
- Mutable
- Identified
- Elem
- Publisher
- Disposable
- Writable
- Form
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def addHead(elem: A)(implicit tx: T): Unit
- abstract def addLast(elem: A)(implicit tx: T): Unit
- abstract def apply(index: Int)(implicit tx: T): A
- Definition Classes
- ListObj
- abstract def changed: EventLike[T, Update[T, A, Modifiable[T, A]]]
- Definition Classes
- Modifiable → Publisher
- abstract def clear()(implicit tx: T): Unit
- abstract def disposeData()(implicit tx: T): Unit
- Attributes
- protected
- Definition Classes
- Node
- abstract def get(index: Int)(implicit tx: T): Option[A]
- Definition Classes
- ListObj
- abstract def head(implicit tx: T): A
- Definition Classes
- ListObj
- abstract def headOption(implicit tx: T): Option[A]
- Definition Classes
- ListObj
- 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
- abstract def insert(index: Int, elem: A)(implicit tx: T): Unit
- abstract def isEmpty(implicit tx: T): Boolean
- Definition Classes
- ListObj
- abstract def iterator(implicit tx: T): Iterator[A]
- Definition Classes
- ListObj
- abstract def last(implicit tx: T): A
- Definition Classes
- ListObj
- abstract def lastOption(implicit tx: T): Option[A]
- Definition Classes
- ListObj
- abstract def modifiableOption: Option[Modifiable[T, A]]
- Definition Classes
- ListObj
- abstract def nonEmpty(implicit tx: T): Boolean
- Definition Classes
- ListObj
- abstract def remove(elem: A)(implicit tx: T): Boolean
- abstract def removeAt(index: Int)(implicit tx: T): A
- abstract def removeHead()(implicit tx: T): A
- abstract def removeLast()(implicit tx: T): A
- abstract def size(implicit tx: T): Int
- Definition Classes
- ListObj
- abstract def targets: Targets[T]
- Attributes
- protected
- Definition Classes
- Node
- abstract def tpe: Type
- abstract def writeData(out: DataOutput): Unit
- Attributes
- protected
- Definition Classes
- Node
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def attr(implicit tx: T): AttrMap[T]
- Definition Classes
- Obj
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def dispose()(implicit tx: T): Unit
- Definition Classes
- Node → Disposable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- Identified → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Identified → AnyRef → Any
- final def id: Ident[T]
- Definition Classes
- Node → Identified
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Node → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def write(out: DataOutput): Unit
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated