sealed abstract class UIDTrieSet[T <: UID] extends AnyRef
A set of objects of type UID. This set is defined over the ids of the objects and NOT over the objects themselves. I.e., at any given time no two different objects which have the same id, will be found in the set (provided that the ids are not changed after adding the object to this set, which is a pre-requisite.)
- Self Type
- UIDTrieSet[T]
- Source
- UIDTrieSet.scala
- Note
Though
equals
andhashCode
are implemented, comparing UID trie sets is still not efficient (n * log n) because the structure of the trie depends on the insertion order.
- Alphabetic
- By Inheritance
- UIDTrieSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def add(value: T): UIDTrieSet[T]
- abstract def containsId(id: Int): Boolean
- abstract def equals(other: UIDTrieSet[_]): Boolean
- abstract def exists(p: (T) => Boolean): Boolean
- abstract def foldLeft[B](z: B)(op: (B, T) => B): B
- abstract def forall(p: (T) => Boolean): Boolean
- abstract def foreach[U](f: (T) => U): Unit
- abstract def head: T
- abstract def isEmpty: Boolean
- abstract def isSingletonSet: Boolean
- abstract def iterator: Iterator[T]
- abstract def nonEmpty: Boolean
- abstract def size: Int
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ++(other: UIDTrieSet[T]): UIDTrieSet[T]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def contains(value: T): Boolean
Tests if this set contains a value with the same id as the given value.
Tests if this set contains a value with the same id as the given value. I.e., no comparison of the values is done, but only the underlying ids are compared.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(other: Any): Boolean
- Definition Classes
- UIDTrieSet → AnyRef → Any
- final def foreachIterator: ForeachRefIterator[T]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated