Showing content from https://www.scala-lang.org/api/2.13.10/scala/collection/mutable/HashSet.html below:
Scala Standard Library 2.13.10 - scala.collection.mutable.HashSet
final class HashSet[A] extends AbstractSet[A] with SetOps[A, HashSet, HashSet[A]] with StrictOptimizedIterableOps[A, HashSet, HashSet[A]] with IterableFactoryDefaults[A, HashSet] with Serializable
î·î
Ordering
- Alphabetic
- By Inheritance
Inherited
- HashSet
- Serializable
- StrictOptimizedIterableOps
- AbstractSet
- Set
- SetOps
- Shrinkable
- Builder
- Growable
- Clearable
- Cloneable
- Cloneable
- Iterable
- AbstractSet
- Set
- Equals
- SetOps
- Function1
- AbstractIterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
Implicitly
- by iterableOnceExtensionMethods
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
Visibility
- Public
- Protected
Instance Constructors
- î
new HashSet()
- î
new HashSet(initialCapacity: Int, loadFactor: Double)
Value Members
- î
final def !=(arg0: Any): Boolean
- î
final def ##: Int
- î
final def &(that: collection.Set[A]): HashSet[A]
- î
final def &~(that: collection.Set[A]): HashSet[A]
- î
final def ++(that: IterableOnce[A]): HashSet[A]
- î
final def ++[B >: A](suffix: IterableOnce[B]): HashSet[B]
- î
final def ++=(xs: IterableOnce[A]): HashSet.this.type
- î
final def +=(elem: A): HashSet.this.type
- î
final def --=(xs: IterableOnce[A]): HashSet.this.type
- î
final def -=(elem: A): HashSet.this.type
- î
def ->[B](y: B): (HashSet[A], B)
- î
final def ==(arg0: Any): Boolean
- î
def add(elem: A): Boolean
- î
def addAll(xs: IterableOnce[A]): HashSet.this.type
- î
def addOne(elem: A): HashSet.this.type
- î
final def addString(b: StringBuilder): b.type
- î
final def addString(b: StringBuilder, sep: String): b.type
- î
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
- î
def andThen[A](g: (Boolean) => A): (A) => A
- î
final def apply(elem: A): Boolean
- î
final def asInstanceOf[T0]: T0
- î
def canEqual(that: Any): Boolean
- î
def className: String
- î
def clear(): Unit
- î
def clone(): HashSet[A]
- î
final def coll: HashSet.this.type
- î
def collect[B](pf: PartialFunction[A, B]): HashSet[B]
- î
def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- î
def compose[A](g: (A) => A): (A) => Boolean
- î
def concat(that: IterableOnce[A]): HashSet[A]
- î
def concat[B >: A](suffix: IterableOnce[B]): HashSet[B]
- î
def contains(elem: A): Boolean
- î
def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Int
- î
def copyToArray[B >: A](xs: Array[B], start: Int): Int
- î
def copyToArray[B >: A](xs: Array[B]): Int
- î
def corresponds[B](that: IterableOnce[B])(p: (A, B) => Boolean): Boolean
- î
def count(p: (A) => Boolean): Int
- î
def diff(that: collection.Set[A]): HashSet[A]
- î
def drop(n: Int): HashSet[A]
- î
def dropRight(n: Int): HashSet[A]
- î
def dropWhile(p: (A) => Boolean): HashSet[A]
- î
def empty: HashSet[A]
- î
def ensuring(cond: (HashSet[A]) => Boolean, msg: => Any): HashSet[A]
- î
def ensuring(cond: (HashSet[A]) => Boolean): HashSet[A]
- î
def ensuring(cond: Boolean, msg: => Any): HashSet[A]
- î
def ensuring(cond: Boolean): HashSet[A]
- î
final def eq(arg0: AnyRef): Boolean
- î
def equals(that: Any): Boolean
- î
def exists(p: (A) => Boolean): Boolean
- î
def filter(pred: (A) => Boolean): HashSet[A]
- î
def filterImpl(pred: (A) => Boolean, isFlipped: Boolean): HashSet[A]
- î
def filterInPlace(p: (A) => Boolean): HashSet.this.type
- î
def filterNot(pred: (A) => Boolean): HashSet[A]
- î
def finalize(): Unit
- î
def find(p: (A) => Boolean): Option[A]
- î
def flatMap[B](f: (A) => IterableOnce[B]): HashSet[B]
- î
def flatten[B](implicit toIterableOnce: (A) => IterableOnce[B]): HashSet[B]
- î
def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- î
def foldLeft[B](z: B)(op: (B, A) => B): B
- î
def foldRight[B](z: B)(op: (A, B) => B): B
- î
def forall(p: (A) => Boolean): Boolean
- î
def foreach[U](f: (A) => U): Unit
- î
def fromSpecific(coll: IterableOnce[A]): HashSet[A]
- î
final def getClass(): Class[_ <: AnyRef]
- î
def groupBy[K](f: (A) => K): immutable.Map[K, HashSet[A]]
- î
def groupMap[K, B](key: (A) => K)(f: (A) => B): immutable.Map[K, HashSet[B]]
- î
def groupMapReduce[K, B](key: (A) => K)(f: (A) => B)(reduce: (B, B) => B): immutable.Map[K, B]
- î
def grouped(size: Int): Iterator[HashSet[A]]
- î
def hashCode(): Int
- î
def head: A
- î
def headOption: Option[A]
- î
def init: HashSet[A]
- î
def inits: Iterator[HashSet[A]]
- î
def intersect(that: collection.Set[A]): HashSet[A]
- î
def isEmpty: Boolean
- î
final def isInstanceOf[T0]: Boolean
- î
def isTraversableAgain: Boolean
- î
def iterableFactory: IterableFactory[HashSet]
- î
def iterator: Iterator[A]
- î
def knownSize: Int
- î
def last: A
- î
def lastOption: Option[A]
- î
def lazyZip[B](that: collection.Iterable[B]): LazyZip2[A, B, HashSet.this.type]
- î
def map[B](f: (A) => B): HashSet[B]
- î
def mapResult[NewTo](f: (HashSet[A]) => NewTo): Builder[A, NewTo]
- î
def max[B >: A](implicit ord: math.Ordering[B]): A
- î
def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- î
def maxByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- î
def maxOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- î
def min[B >: A](implicit ord: math.Ordering[B]): A
- î
def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- î
def minByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- î
def minOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- î
final def mkString: String
- î
final def mkString(sep: String): String
- î
final def mkString(start: String, sep: String, end: String): String
- î
final def ne(arg0: AnyRef): Boolean
- î
def newSpecificBuilder: Builder[A, HashSet[A]]
- î
def nonEmpty: Boolean
- î
final def notify(): Unit
- î
final def notifyAll(): Unit
- î
def partition(p: (A) => Boolean): (HashSet[A], HashSet[A])
- î
def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (HashSet[A1], HashSet[A2])
- î
def product[B >: A](implicit num: math.Numeric[B]): B
- î
def reduce[B >: A](op: (B, B) => B): B
- î
def reduceLeft[B >: A](op: (B, A) => B): B
- î
def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
- î
def reduceOption[B >: A](op: (B, B) => B): Option[B]
- î
def reduceRight[B >: A](op: (A, B) => B): B
- î
def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
- î
def remove(elem: A): Boolean
- î
def result(): HashSet[A]
- î
def reversed: collection.Iterable[A]
- î
def scan[B >: A](z: B)(op: (B, B) => B): HashSet[B]
- î
def scanLeft[B](z: B)(op: (B, A) => B): HashSet[B]
- î
def scanRight[B](z: B)(op: (A, B) => B): HashSet[B]
- î
def size: Int
- î
def sizeCompare(that: collection.Iterable[_]): Int
- î
def sizeCompare(otherSize: Int): Int
- î
def sizeHint(size: Int): Unit
- î
final def sizeHint(coll: IterableOnce[_], delta: Int = 0): Unit
- î
final def sizeHintBounded(size: Int, boundingColl: collection.Iterable[_]): Unit
- î
final def sizeIs: SizeCompareOps
- î
def slice(from: Int, until: Int): HashSet[A]
- î
def sliding(size: Int, step: Int): Iterator[HashSet[A]]
- î
def sliding(size: Int): Iterator[HashSet[A]]
- î
def span(p: (A) => Boolean): (HashSet[A], HashSet[A])
- î
def splitAt(n: Int): (HashSet[A], HashSet[A])
- î
def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S with EfficientSplit
- î
final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[A, B]): C2
- î
final def strictOptimizedConcat[B >: A, C2](that: IterableOnce[B], b: Builder[B, C2]): C2
- î
final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (A) => IterableOnce[B]): C2
- î
final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (A) => IterableOnce[B]): C2
- î
final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (A) => B): C2
- î
final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[(A, B), C2]): C2
- î
def stringPrefix: String
- î
def subsetOf(that: collection.Set[A]): Boolean
- î
def subsets(): Iterator[HashSet[A]]
- î
def subsets(len: Int): Iterator[HashSet[A]]
- î
def subtractAll(xs: IterableOnce[A]): HashSet.this.type
- î
def subtractOne(elem: A): HashSet.this.type
- î
def sum[B >: A](implicit num: math.Numeric[B]): B
- î
final def synchronized[T0](arg0: => T0): T0
- î
def tail: HashSet[A]
- î
def tails: Iterator[HashSet[A]]
- î
def take(n: Int): HashSet[A]
- î
def takeRight(n: Int): HashSet[A]
- î
def takeWhile(p: (A) => Boolean): HashSet[A]
- î
def tapEach[U](f: (A) => U): HashSet[A]
- î
def to[C1](factory: Factory[A, C1]): C1
- î
def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- î
final def toBuffer[B >: A]: Buffer[B]
- î
def toIndexedSeq: immutable.IndexedSeq[A]
- î
def toList: immutable.List[A]
- î
def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
- î
def toSeq: immutable.Seq[A]
- î
def toSet[B >: A]: immutable.Set[B]
- î
def toString(): String
- î
def toVector: immutable.Vector[A]
- î
def transpose[B](implicit asIterable: (A) => collection.Iterable[B]): HashSet[HashSet[B]]
- î
final def union(that: collection.Set[A]): HashSet[A]
- î
def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (HashSet[A1], HashSet[A2])
- î
def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (HashSet[A1], HashSet[A2], HashSet[A3])
- î
def update(elem: A, included: Boolean): Unit
- î
def view: View[A]
- î
final def wait(): Unit
- î
final def wait(arg0: Long, arg1: Int): Unit
- î
final def wait(arg0: Long): Unit
- î
def withFilter(p: (A) => Boolean): WithFilter[A, [_]HashSet[_]]
- î
def writeReplace(): AnyRef
- î
def zip[B](that: IterableOnce[B]): HashSet[(A, B)]
- î
def zipAll[A1 >: A, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): HashSet[(A1, B)]
- î
def zipWithIndex: HashSet[(A, Int)]
- î
final def |(that: collection.Set[A]): HashSet[A]
Deprecated Value Members
- î
def +(elem1: A, elem2: A, elems: A*): HashSet[A]
- î
def +(elem: A): HashSet[A]
- î
def ++:[B >: A](that: IterableOnce[B]): HashSet[B]
- î
final def +=(elem1: A, elem2: A, elems: A*): HashSet.this.type
- î
def -(elem1: A, elem2: A, elems: A*): HashSet[A]
- î
def -(elem: A): HashSet[A]
- î
def --(that: IterableOnce[A]): HashSet[A]
- î
def -=(elem1: A, elem2: A, elems: A*): HashSet.this.type
- î
def /:[B](z: B)(op: (B, A) => B): B
- î
final def /:[B](z: B)(op: (B, A) => B): B
- î
def :\[B](z: B)(op: (A, B) => B): B
- î
final def :\[B](z: B)(op: (A, B) => B): B
- î
def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
- î
def collectFirst[B](f: PartialFunction[A, B]): Option[B]
- î
def companion: IterableFactory[[_]HashSet[_]]
- î
def copyToBuffer(dest: Buffer[A]): Unit
- î
final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
- î
def count(f: (A) => Boolean): Int
- î
def exists(f: (A) => Boolean): Boolean
- î
def filter(f: (A) => Boolean): Iterator[A]
- î
def find(p: (A) => Boolean): Option[A]
- î
def flatMap[B](f: (A) => IterableOnce[B]): IterableOnce[B]
- î
def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- î
def foldLeft[B](z: B)(op: (B, A) => B): B
- î
def foldRight[B](z: B)(op: (A, B) => B): B
- î
def forall(f: (A) => Boolean): Boolean
- î
def foreach[U](f: (A) => U): Unit
- î
def formatted(fmtstr: String): String
- î
def hasDefiniteSize: Boolean
- î
def isEmpty: Boolean
- î
def map[B](f: (A) => B): IterableOnce[B]
- î
def max(implicit ord: math.Ordering[A]): A
- î
def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- î
def min(implicit ord: math.Ordering[A]): A
- î
def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- î
def mkString: String
- î
def mkString(sep: String): String
- î
def mkString(start: String, sep: String, end: String): String
- î
def nonEmpty: Boolean
- î
def product(implicit num: math.Numeric[A]): A
- î
def reduce(f: (A, A) => A): A
- î
def reduceLeft(f: (A, A) => A): A
- î
def reduceLeftOption(f: (A, A) => A): Option[A]
- î
def reduceOption(f: (A, A) => A): Option[A]
- î
def reduceRight(f: (A, A) => A): A
- î
def reduceRightOption(f: (A, A) => A): Option[A]
- î
final def repr: HashSet[A]
- î
final def retain(p: (A) => Boolean): Unit
- î
def sameElements[B >: A](that: IterableOnce[B]): Boolean
- î
def seq: HashSet.this.type
- î
def size: Int
- î
def sum(implicit num: math.Numeric[A]): A
- î
def to[C1](factory: Factory[A, C1]): C1
- î
def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- î
def toBuffer[B >: A]: Buffer[B]
- î
def toIndexedSeq: collection.IndexedSeq[A]
- î
final def toIterable: collection.Iterable[A]
- î
final def toIterable: HashSet.this.type
- î
def toIterator: Iterator[A]
- î
final def toIterator: Iterator[A]
- î
def toList: immutable.List[A]
- î
def toMap[K, V](implicit ev: <:<[A, (K, V)]): immutable.Map[K, V]
- î
def toSeq: immutable.Seq[A]
- î
def toSet[B >: A]: immutable.Set[B]
- î
def toStream: immutable.Stream[A]
- î
final def toStream: immutable.Stream[A]
- î
final def toTraversable: collection.Traversable[A]
- î
final def toTraversable: collection.Traversable[A]
- î
def toVector: immutable.Vector[A]
- î
def view(from: Int, until: Int): View[A]
- î
def withFilter(f: (A) => Boolean): Iterator[A]
- î
def â[B](y: B): (HashSet[A], B)
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4