sealed abstract class LongLinkedTrieSet extends LongLinkedSet
An effectively immutable trie set of long values where the elements are sorted based on the insertion order.
All traversing operations are defined based on the insertion order. The latest added elements will be iterated over first.
The trie set is specialized for sizes up to three elements.
- Source
- LongLinkedTrieSet.scala
- Alphabetic
- By Inheritance
- LongLinkedTrieSet
- LongLinkedSet
- LongSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final type ThisSet = LongLinkedTrieSet
- Definition Classes
- LongLinkedTrieSet → LongLinkedSet → LongSet
Abstract Value Members
- abstract def +(i: Long): ThisSet
Adds the given value to this set; returns
this
if this set already contains the value otherwise a new set is returned.Adds the given value to this set; returns
this
if this set already contains the value otherwise a new set is returned.- Definition Classes
- LongSet
- abstract def contains(value: Long): Boolean
- Definition Classes
- LongSet
- abstract def foldLeft[B](z: B)(op: (B, Long) => B): B
- Definition Classes
- LongSet
- abstract def forFirstN[U](n: Int)(f: (Long) => U): Unit
- Definition Classes
- LongLinkedSet
- abstract def forall(p: (Long) => Boolean): Boolean
- Definition Classes
- LongSet
- abstract def foreach[U](f: (Long) => U): Unit
- Definition Classes
- LongSet
- abstract def head: Long
- Definition Classes
- LongLinkedSet
- abstract def isEmpty: Boolean
- Definition Classes
- LongSet
- abstract def isSingletonSet: Boolean
Tests if this set has exactly one element (complexity: O(1)).
Tests if this set has exactly one element (complexity: O(1)).
- Definition Classes
- LongSet
- abstract def iterator: LongIterator
- Definition Classes
- LongSet
- abstract def size: Int
The size of the set (complexity: O(1)).
The size of the set (complexity: O(1)).
- Definition Classes
- LongSet
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 mkString(in: String): String
- Definition Classes
- LongSet
- final def mkString(pre: String, in: String, post: String): String
- Definition Classes
- LongSet
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- Definition Classes
- LongSet
- 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 transform[B, To](f: (Long) => B, b: Builder[B, To]): To
- Definition Classes
- LongSet
- 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