trait List[S <: Sys[S], A] extends Obj[S] with Publisher[S, Update[S, A]]
An observable linked list with fast head and last operations.
This is the read-only layer, see List.Modifiable for a mutable list.
The list will report insertions and deletions.
- A
the element type of the list
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- List
- Obj
- Mutable
- Identifiable
- Elem
- Publisher
- Disposable
- Writable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def apply(index: Int)(implicit tx: S.Tx): A
-
abstract
def
changed: EventLike[S, Update[S, A]]
- Definition Classes
- Publisher
-
abstract
def
dispose()(implicit tx: S.Tx): Unit
- Definition Classes
- Disposable
- abstract def get(index: Int)(implicit tx: S.Tx): Option[A]
- abstract def head(implicit tx: S.Tx): A
- abstract def headOption(implicit tx: S.Tx): Option[A]
-
abstract
def
id: S.ID
- Definition Classes
- Identifiable
-
abstract
def
indexOf(elem: A)(implicit tx: S.Tx): Int
Note: this is an O(n) operation.
- abstract def isEmpty(implicit tx: S.Tx): Boolean
- abstract def iterator(implicit tx: S.Tx): Iterator[A]
- abstract def last(implicit tx: S.Tx): A
- abstract def lastOption(implicit tx: S.Tx): Option[A]
- abstract def modifiableOption: Option[Modifiable[S, A]]
- abstract def nonEmpty(implicit tx: S.Tx): Boolean
- abstract def size(implicit tx: S.Tx): Int
-
abstract
def
tpe: Type
- Definition Classes
- Obj → Elem
-
abstract
def
write(out: DataOutput): Unit
- Definition Classes
- Writable
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
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
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
- Obj → 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( ... )