de.sciss.collection.txn

HASkipList

sealed trait HASkipList[S <: Sys[S], A] extends SkipList[S, A]

Linear Supertypes
SkipList[S, A], Mutable[S], Disposable[Tx], Writer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. HASkipList
  2. SkipList
  3. Mutable
  4. Disposable
  5. Writer
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def +=(elem: A)(implicit tx: Tx): HASkipList.this.type

    Definition Classes
    SkipList
  2. abstract def -=(elem: A)(implicit tx: Tx): HASkipList.this.type

    Definition Classes
    SkipList
  3. abstract def add(v: A)(implicit tx: Tx): Boolean

    Inserts a new key into the list.

    Inserts a new key into the list.

    v

    the key to insert

    returns

    true if the key was successfully inserted, false if a node with the given key already existed

    Definition Classes
    SkipList
  4. abstract def contains(v: A)(implicit tx: Tx): Boolean

    Searches for the Branch of a given key.

    Searches for the Branch of a given key.

    v

    the key to search for

    returns

    true if the key is in the list, false otherwise

    Definition Classes
    SkipList
  5. abstract def debugPrint(implicit tx: Tx): String

    Definition Classes
    SkipList
  6. abstract def disposeData()(implicit tx: Tx): Unit

    Attributes
    protected
    Definition Classes
    Mutable
  7. abstract def height(implicit tx: Tx): Int

    The number of levels in the skip list.

    The number of levels in the skip list.

    Definition Classes
    SkipList
  8. abstract def id: ID

    Definition Classes
    Mutable
  9. abstract def isEmpty(implicit tx: Tx): Boolean

    Definition Classes
    SkipList
  10. abstract def isomorphicQuery(ord: Ordered[Tx, A])(implicit tx: Tx): (A, Int)

    Finds the nearest item equal or greater than an unknown item from an isomorphic set.

    Finds the nearest item equal or greater than an unknown item from an isomorphic set. The isomorphism is represented by a comparison function which guides the binary search.

    ord

    a function that guides the search. should return -1 if the argument is smaller than the search key, 0 if both are equivalent, or 1 if the argument is greater than the search key. E.g., using some mapping, the function could look like mapping.apply(_).compare(queryKey)

    returns

    the nearest item, or the maximum item

    Definition Classes
    SkipList
  11. abstract def iterator(implicit tx: Tx): Iterator[Tx, A]

    Definition Classes
    SkipList
  12. abstract def keySerializer: TxnSerializer[Tx, Acc, A]

  13. abstract def maxGap: Int

    The maximum gap within elements of each skip level

    The maximum gap within elements of each skip level

    Definition Classes
    SkipList
  14. abstract def minGap: Int

    The minimum gap within elements of each skip level

    The minimum gap within elements of each skip level

    Definition Classes
    SkipList
  15. abstract def notEmpty(implicit tx: Tx): Boolean

    Definition Classes
    SkipList
  16. implicit abstract def ordering: Ordering[Tx, A]

    The ordering used for the keys of this list.

    The ordering used for the keys of this list.

    Definition Classes
    SkipList
  17. abstract def remove(v: A)(implicit tx: Tx): Boolean

    Definition Classes
    SkipList
  18. abstract def size(implicit tx: Tx): Int

    The number of keys in the skip list (size of the bottom level).

    The number of keys in the skip list (size of the bottom level). This operation may take up to O(n) time, depending on the implementation.

    Definition Classes
    SkipList
  19. abstract def toIndexedSeq(implicit tx: Tx): IndexedSeq[A]

    Definition Classes
    SkipList
  20. abstract def toList(implicit tx: Tx): List[A]

    Definition Classes
    SkipList
  21. abstract def toSeq(implicit tx: Tx): Seq[A]

    Definition Classes
    SkipList
  22. abstract def toSet(implicit tx: Tx): Set[A]

    Definition Classes
    SkipList
  23. abstract def top(implicit tx: Tx): Option[Node[S, A]]

  24. abstract def writeData(out: DataOutput): Unit

    Attributes
    protected
    Definition Classes
    Mutable

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. def clone(): AnyRef

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

    Definition Classes
    Mutable → Disposable
  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    Mutable → AnyRef → Any
  11. def finalize(): Unit

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

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

    Definition Classes
    Mutable → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  19. def toString(): String

    Definition Classes
    Mutable → AnyRef → Any
  20. final def wait(): Unit

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

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

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

    Definition Classes
    Mutable → Writer

Inherited from SkipList[S, A]

Inherited from Mutable[S]

Inherited from Disposable[Tx]

Inherited from Writer

Inherited from AnyRef

Inherited from Any