Packages

trait SkipList[T <: Exec[T], A, E] extends Mutable[T]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SkipList
  2. Mutable
  3. Disposable
  4. Writable
  5. Identified
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def +=(entry: E)(implicit tx: T): SkipList.this.type
  2. abstract def -=(key: A)(implicit tx: T): SkipList.this.type
  3. abstract def ceil(key: A)(implicit tx: T): Option[E]

    Finds the entry with the smallest key which is greater than or equal to the search key.

    Finds the entry with the smallest key which is greater than or equal to the search key.

    key

    the search key

    returns

    the found entry, or None if there is no key greater than or equal to the search key (e.g. the list is empty)

  4. abstract def clear()(implicit tx: T): Unit
  5. abstract def contains(key: A)(implicit tx: T): Boolean

    Searches for the Branch of a given key.

    Searches for the Branch of a given key.

    key

    the key to search for

    returns

    true if the key is in the list, false otherwise

  6. abstract def debugPrint()(implicit tx: T): String
  7. abstract def dispose()(implicit tx: T): Unit
    Definition Classes
    Disposable
  8. abstract def firstKey(implicit tx: T): A
  9. abstract def floor(key: A)(implicit tx: T): Option[E]

    Finds the entry with the largest key which is smaller than or equal to the search key.

    Finds the entry with the largest key which is smaller than or equal to the search key.

    key

    the search key

    returns

    the found entry, or None if there is no key smaller than or equal to the search key (e.g. the list is empty)

  10. abstract def head(implicit tx: T): E

    Returns the first element.

    Returns the first element. Throws an exception if the list is empty.

  11. abstract def headOption(implicit tx: T): Option[E]

    Returns the first element, or None if the list is empty.

  12. abstract def height(implicit tx: T): Int

    The number of levels in the skip list.

  13. abstract def id: Ident[T]
    Definition Classes
    Identified
  14. abstract def isEmpty(implicit tx: T): Boolean
  15. abstract def isomorphicQuery(compare: (A) => Int)(implicit tx: T): (E, 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.

    compare

    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

  16. abstract def iterator(implicit tx: T): Iterator[E]
  17. abstract def keyFormat: TFormat[T, A]
  18. abstract def last(implicit tx: T): E

    Returns the last element.

    Returns the last element. Throws an exception if the list is empty.

  19. abstract def lastKey(implicit tx: T): A
  20. abstract def lastOption(implicit tx: T): Option[E]

    Returns the last element, or None if the list is empty.

  21. abstract def maxGap: Int

    The maximum gap within elements of each skip level.

  22. abstract def minGap: Int

    The minimum gap within elements of each skip level.

  23. abstract def nonEmpty(implicit tx: T): Boolean
  24. implicit abstract def ordering: TOrdering[T, A]

    The ordering used for the keys of this list.

  25. abstract def size(implicit tx: T): Int

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

    Reports 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.

  26. abstract def toIndexedSeq(implicit tx: T): IndexedSeq[E]
  27. abstract def toList(implicit tx: T): List[E]
  28. abstract def toSeq(implicit tx: T): Seq[E]
  29. abstract def toSet(implicit tx: T): Set[E]
  30. abstract def write(out: DataOutput): Unit
    Definition Classes
    Writable

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(that: Any): Boolean
    Definition Classes
    Identified → AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    Identified → AnyRef → Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Mutable[T]

Inherited from Disposable[T]

Inherited from Writable

Inherited from Identified[T]

Inherited from AnyRef

Inherited from Any

Ungrouped