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