final class SimpleArraySet[A] extends AbstractSet[A] with ArraySet[A] with StrictOptimizedIterableOps[A, SimpleArraySet, SimpleArraySet[A]] with IterableFactoryDefaults[A, SimpleArraySet] with Serializable
A basic ArraySet implementation suitable for efficient add operations. Element removal could be optimized by another implementation.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- SimpleArraySet
- Serializable
- StrictOptimizedIterableOps
- ArraySet
- ExtSetMethods
- FilterableSet
- AbstractSet
- Set
- SetOps
- Shrinkable
- Builder
- Growable
- Clearable
- Cloneable
- Cloneable
- Iterable
- AbstractSet
- Set
- Equals
- SetOps
- Function1
- AbstractIterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- by iterableOnceExtensionMethods
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SimpleArraySet(hints: Hints)
- hints
Optimization hints controlling the growth of the underlying scala.collection.mutable.ArrayBuffer!.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def &(that: Set[A]): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @inline()
- final def &~(that: Set[A]): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @inline()
- final def ++(that: IterableOnce[A]): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @inline()
- final def ++[B >: A](suffix: IterableOnce[B]): SimpleArraySet[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ++=(xs: IterableOnce[A]): SimpleArraySet.this.type
- Definition Classes
- Growable
- Annotations
- @inline()
- final def +=(elem: A): SimpleArraySet.this.type
- Definition Classes
- Growable
- Annotations
- @inline()
- def +=!(elem: A): SimpleArraySet.this.type
Adds
elem
without checking for duplicates.Adds
elem
without checking for duplicates.- Attributes
- protected[collection]
- Definition Classes
- SimpleArraySet → ArraySet
- final def --=(xs: IterableOnce[A]): SimpleArraySet.this.type
- Definition Classes
- Shrinkable
- Annotations
- @inline()
- final def -=(elem: A): SimpleArraySet.this.type
- Definition Classes
- Shrinkable
- Annotations
- @inline()
- def ->[B](y: B): (SimpleArraySet[A], B)
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toArrowAssoc[SimpleArraySet[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(elem: A): Boolean
- Definition Classes
- SimpleArraySet → SetOps
- def addAll(xs: IterableOnce[A]): SimpleArraySet.this.type
- Definition Classes
- Growable
- def addOne(elem: A): SimpleArraySet.this.type
- Definition Classes
- SimpleArraySet → Growable
- final def addString(b: StringBuilder): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
- Definition Classes
- IterableOnceOps
- def andThen[A](g: (Boolean) => A): (A) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def apply(elem: A): Boolean
- Definition Classes
- SetOps → Function1
- Annotations
- @inline()
- def array: Array[A]
- Attributes
- protected[collection]
- Definition Classes
- SimpleArraySet → ArraySet
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
- Definition Classes
- Set → Equals
- def capacity: Int
For
isArray == true
, the current capacity of the internal array else 0.For
isArray == true
, the current capacity of the internal array else 0.- Definition Classes
- SimpleArraySet → ArraySet
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clear(): Unit
- Definition Classes
- SimpleArraySet → Builder → Clearable
- def clone(): SimpleArraySet[A]
- Definition Classes
- SimpleArraySet → SetOps → Cloneable → AnyRef
- final def coll: SimpleArraySet.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[B](pf: PartialFunction[A, B]): SimpleArraySet[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Definition Classes
- IterableOnceOps
- def compact(): Unit
Compacts the current representation depending on ArraySet.Hints.compactUpToUsed.
Compacts the current representation depending on ArraySet.Hints.compactUpToUsed.
- Definition Classes
- SimpleArraySet → ArraySet
- def compose[A](g: (A) => A): (A) => Boolean
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def concat(that: IterableOnce[A]): ArraySet[A]
- Definition Classes
- SetOps
- def concat[B >: A](suffix: IterableOnce[B]): SimpleArraySet[B]
- Definition Classes
- IterableOps
- def contains(elem: A): Boolean
- Definition Classes
- SimpleArraySet → SetOps
- def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: A](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: IterableOnce[B])(p: (A, B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: (A) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def diff(that: Set[A]): ArraySet[A]
- Definition Classes
- SetOps → SetOps
- def draw(random: Random): A
Returns a random element of the set if it is
nonEmpty
otherwise throwsIllegalArgumentException
.Returns a random element of the set if it is
nonEmpty
otherwise throwsIllegalArgumentException
. Note that currently a near- but no true-uniform distribution is granted to allow for O(1) implementation.- random
a random generator; it is essential that
random
be instantiated by the caller just once for any sequence of calls
- Definition Classes
- SimpleArraySet → ExtSetMethods
- def drop(n: Int): SimpleArraySet[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): SimpleArraySet[A]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def dropWhile(p: (A) => Boolean): SimpleArraySet[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def empty: SimpleArraySet[A]
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def ensuring(cond: (SimpleArraySet[A]) => Boolean, msg: => Any): SimpleArraySet[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toEnsuring[SimpleArraySet[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (SimpleArraySet[A]) => Boolean): SimpleArraySet[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toEnsuring[SimpleArraySet[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): SimpleArraySet[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toEnsuring[SimpleArraySet[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): SimpleArraySet[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toEnsuring[SimpleArraySet[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- Set → Equals → AnyRef → Any
- def exists(p: (A) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(p: (A) => Boolean): SimpleArraySet[A]
Optimized by use of unchecked insertions.
Optimized by use of unchecked insertions.
- Definition Classes
- SimpleArraySet → StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def filterImpl(pred: (A) => Boolean, isFlipped: Boolean): SimpleArraySet[A]
- Attributes
- protected[scala.collection]
- Definition Classes
- StrictOptimizedIterableOps
- def filterInPlace(p: (A) => Boolean): SimpleArraySet.this.type
- Definition Classes
- SetOps
- def filterNot(pred: (A) => Boolean): SimpleArraySet[A]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def find(elem: A): Option[A]
- Definition Classes
- SimpleArraySet → ArraySet
- def find(p: (A) => Boolean): Option[A]
- Definition Classes
- IterableOnceOps
- def findElem[B](other: B, correspond: (A, B) => Boolean): A
Finds an entry in the collection based on
toMatch
'shashCode
and a correspondence function but not on the argument type.Finds an entry in the collection based on
toMatch
'shashCode
and a correspondence function but not on the argument type.- correspond
function returning whether a given entry corresponds to
other
- returns
the entry corresponding to
toMatch
or null if not contained
- Definition Classes
- SimpleArraySet → ExtSetMethods
- def findElem(elem: A): Option[A]
- Definition Classes
- ExtSetMethods
- def flatMap[B](f: (A) => IterableOnce[B]): SimpleArraySet[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def flatten[B](implicit toIterableOnce: (A) => IterableOnce[B]): SimpleArraySet[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, A) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (A, B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: (A) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (A) => U): Unit
- Definition Classes
- SimpleArraySet → IterableOnceOps
- def fromSpecific(coll: IterableOnce[A]): SimpleArraySet[A]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def groupBy[K](f: (A) => K): Map[K, SimpleArraySet[A]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (A) => K)(f: (A) => B): Map[K, SimpleArraySet[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (A) => K)(f: (A) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[SimpleArraySet[A]]
- Definition Classes
- IterableOps
- def hashCode(): Int
- Definition Classes
- Set → AnyRef → Any
- def head: A
- Definition Classes
- IterableOps
- def headOption: Option[A]
- Definition Classes
- IterableOps
- val hints: Hints
The hints valid for this ArraySet!.
The hints valid for this ArraySet!.
- Definition Classes
- SimpleArraySet → ArraySet
- def indexOf(elem: A): Int
- Attributes
- protected
- def indexOf[B](elem: B, pred: (A, B) => Boolean): Int
- Attributes
- protected
- def init: SimpleArraySet[A]
- Definition Classes
- IterableOps
- def inits: Iterator[SimpleArraySet[A]]
- Definition Classes
- IterableOps
- def intersect(that: Set[A]): ArraySet[A]
- Definition Classes
- SetOps
- def isArray: Boolean
Whether the internal representation is currently based on
Array
.Whether the internal representation is currently based on
Array
.- Definition Classes
- SimpleArraySet → ArraySet
- Annotations
- @inline()
- def isEmpty: Boolean
- Definition Classes
- IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: SimpleArraySet
- Definition Classes
- SimpleArraySet → ArraySet → Set → Iterable → Set → Iterable → IterableOps
- def iterator: Iterator[A]
- Definition Classes
- SimpleArraySet → IterableOnce
- def knownSize: Int
- Definition Classes
- SetOps → Growable → IterableOnce
- def last: A
- Definition Classes
- IterableOps
- def lastOption: Option[A]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[A, B, SimpleArraySet.this.type]
- Definition Classes
- Iterable
- def map(xs: IterableOnce[A]): SimpleArraySet.this.type
- Attributes
- protected[collection]
- def map[B](f: (A) => B): SimpleArraySet[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def mapResult[NewTo](f: (ArraySet[A]) => NewTo): scala.collection.mutable.Builder[A, NewTo]
- Definition Classes
- Builder
- def mapUnchecked[B, That](f: (A) => B): SimpleArraySet[B]
Faster mapping in case the caller ensures to insert no duplicates.
Faster mapping in case the caller ensures to insert no duplicates.
- Attributes
- protected[collection]
- def max[B >: A](implicit ord: Ordering[B]): A
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (A) => B)(implicit cmp: Ordering[B]): A
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (A) => B)(implicit cmp: Ordering[B]): Option[A]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: A](implicit ord: Ordering[B]): Option[A]
- Definition Classes
- IterableOnceOps
- def min[B >: A](implicit ord: Ordering[B]): A
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (A) => B)(implicit cmp: Ordering[B]): A
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (A) => B)(implicit cmp: Ordering[B]): Option[A]
- Definition Classes
- IterableOnceOps
- def minOption[B >: A](implicit ord: Ordering[B]): Option[A]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newNonCheckingBuilder[B]: NonCheckingBuilder[A, B]
- Attributes
- protected[collection]
- def newSpecificBuilder: scala.collection.mutable.Builder[A, SimpleArraySet[A]]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def partition(p: (A) => Boolean): (SimpleArraySet[A], SimpleArraySet[A])
Optimized by use of unchecked insertions.
Optimized by use of unchecked insertions.
- Definition Classes
- SimpleArraySet → StrictOptimizedIterableOps → IterableOps
- def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (SimpleArraySet[A1], SimpleArraySet[A2])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def product[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def reduce[B >: A](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: A](op: (B, A) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: A](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: A](op: (A, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def remove(elem: A): Boolean
- Definition Classes
- SetOps
- def removeIndex(i: Int): Unit
- Attributes
- protected
- def resizeArray(fromCapacity: Int, toCapacity: Int): Unit
- Attributes
- protected
- def resizedToHash: Boolean
- Attributes
- protected
- def result(): ArraySet[A]
- Definition Classes
- SetOps → Builder
- def reversed: Iterable[A]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def scan[B >: A](z: B)(op: (B, B) => B): SimpleArraySet[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, A) => B): SimpleArraySet[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (A, B) => B): SimpleArraySet[B]
- Definition Classes
- IterableOps
- def set: ExtHashSet[A]
- Attributes
- protected[collection]
- Definition Classes
- SimpleArraySet → ArraySet
- def setToArray(set: Iterable[A], size: Int): Unit
- Attributes
- protected
- def size: Int
- Definition Classes
- SimpleArraySet → IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
- Definition Classes
- Builder
- def sizeHint(size: Int): Unit
- Definition Classes
- Builder
- final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
- Definition Classes
- Builder
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): SimpleArraySet[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[SimpleArraySet[A]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[SimpleArraySet[A]]
- Definition Classes
- IterableOps
- def sortBy(f: (A) => A)(implicit ord: Ordering[A]): SortedSet[A]
Sorts this
ArraySet
according to the Ordering which results from transforming an implicitly given Ordering with a transformation function in place.Sorts this
ArraySet
according to the Ordering which results from transforming an implicitly given Ordering with a transformation function in place.- Definition Classes
- ArraySet
- See also
scala.collection.SeqLike
- def sortWith(lt: (A, A) => Boolean): SortedSet[A]
Sorts this
ArraySet
according to a comparison function in place.Sorts this
ArraySet
according to a comparison function in place.- Definition Classes
- ArraySet
- See also
scala.collection.SeqLike
- def sorted(implicit ord: Ordering[A]): SortedSet[A]
Sorts this
ArraySet
according to an Ordering in place.Sorts this
ArraySet
according to an Ordering in place.- Definition Classes
- SimpleArraySet → ArraySet
- See also
scala.collection.SeqLike
- def span(p: (A) => Boolean): (SimpleArraySet[A], SimpleArraySet[A])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def splitAt(n: Int): (SimpleArraySet[A], SimpleArraySet[A])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
- Definition Classes
- IterableOnce
- final def strictOptimizedCollect[B, C2](b: scala.collection.mutable.Builder[B, C2], pf: PartialFunction[A, B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedConcat[B >: A, C2](that: IterableOnce[B], b: scala.collection.mutable.Builder[B, C2]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedFlatMap[B, C2](b: scala.collection.mutable.Builder[B, C2], f: (A) => IterableOnce[B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedFlatten[B, C2](b: scala.collection.mutable.Builder[B, C2])(implicit toIterableOnce: (A) => IterableOnce[B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedMap[B, C2](b: scala.collection.mutable.Builder[B, C2], f: (A) => B): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: scala.collection.mutable.Builder[(A, B), C2]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Set → Iterable
- def subsetOf(that: Set[A]): Boolean
- Definition Classes
- SetOps
- def subsets(): Iterator[ArraySet[A]]
- Definition Classes
- SetOps
- def subsets(len: Int): Iterator[ArraySet[A]]
- Definition Classes
- SetOps
- def subtractAll(xs: IterableOnce[A]): SimpleArraySet.this.type
- Definition Classes
- Shrinkable
- def subtractOne(elem: A): SimpleArraySet.this.type
- Definition Classes
- SimpleArraySet → Shrinkable
- def sum[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: SimpleArraySet[A]
- Definition Classes
- IterableOps
- def tails: Iterator[SimpleArraySet[A]]
- Definition Classes
- IterableOps
- def take(n: Int): SimpleArraySet[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): SimpleArraySet[A]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def takeWhile(p: (A) => Boolean): SimpleArraySet[A]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: (A) => U): SimpleArraySet[A]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def to[C1](factory: Factory[A, C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: A]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[A]
- Definition Classes
- IterableOnceOps
- def toList: List[A]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[A, (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: Seq[A]
- Definition Classes
- IterableOnceOps
- def toSet[B >: A]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- Set → Function1 → Iterable → AnyRef → Any
- def toVector: Vector[A]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (A) => Iterable[B]): SimpleArraySet[SimpleArraySet[B]]
- Definition Classes
- IterableOps
- final def union(that: Set[A]): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @inline()
- def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (SimpleArraySet[A1], SimpleArraySet[A2])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (SimpleArraySet[A1], SimpleArraySet[A2], SimpleArraySet[A3])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def update(elem: A, included: Boolean): Unit
- Definition Classes
- SetOps
- def upsert(elem: A): Boolean
Updates or inserts
elem
.Updates or inserts
elem
.- returns
true
if an insertion took place.
- Attributes
- protected[collection]
- Definition Classes
- SimpleArraySet → ArraySet
- def view: View[A]
- Definition Classes
- IterableOps
- 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withFilter(p: (A) => Boolean): WithFilter[A, [_]SimpleArraySet[_]]
- Definition Classes
- IterableOps
- def withSetFilter(p: (A) => Boolean): Set[A] with FilterableSet[A]
- Definition Classes
- FilterableSet
- def zip[B](that: IterableOnce[B]): SimpleArraySet[(A, B)]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def zipAll[A1 >: A, B](that: Iterable[B], thisElem: A1, thatElem: B): SimpleArraySet[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: SimpleArraySet[(A, Int)]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- final def |(that: Set[A]): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @inline()
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toany2stringadd[SimpleArraySet[A]] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: any2stringadd[SimpleArraySet[A]]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def +(elem1: A, elem2: A, elems: A*): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs
- def +(elem: A): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Consider requiring an immutable Set or fall back to Set.union
- def ++:[B >: A](that: IterableOnce[B]): SimpleArraySet[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- final def +=(elem1: A, elem2: A, elems: A*): SimpleArraySet.this.type
- Definition Classes
- Growable
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
++=
akaaddAll
instead of varargs+=
; infix operations with an operand of multiple args will be deprecated
- def -(elem1: A, elem2: A, elems: A*): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use &- with an explicit collection argument instead of - with varargs
- def -(elem: A): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Consider requiring an immutable Set or fall back to Set.diff
- def --(that: IterableOnce[A]): ArraySet[A]
- Definition Classes
- SetOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Consider requiring an immutable Set
- def -=(elem1: A, elem2: A, elems: A*): SimpleArraySet.this.type
- Definition Classes
- Shrinkable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.3) Use
--=
akasubtractAll
instead of varargs-=
; infix operations with an operand of multiple args will be deprecated
- def /:[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A])./:(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- final def /:[B](z: B)(op: (B, A) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- def :\[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).:\(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- final def :\[B](z: B)(op: (A, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def collectFirst[B](f: PartialFunction[A, B]): Option[B]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).collectFirst(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.collectFirst(...) instead
- def companion: IterableFactory[[_]SimpleArraySet[_]]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- def copyToBuffer(dest: Buffer[A]): Unit
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).copyToBuffer(dest)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.copyToBuffer(...) instead
- final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def count(f: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).count(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.count(...) instead
- def exists(f: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).exists(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.exists(...) instead
- def filter(f: (A) => Boolean): Iterator[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).filter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.filter(...) instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def find(p: (A) => Boolean): Option[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).find(p)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.find instead
- def flatMap[B](f: (A) => IterableOnce[B]): IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).flatMap(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.flatMap instead or consider requiring an Iterable
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).fold(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.fold instead
- def foldLeft[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).foldLeft(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- def foldRight[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).foldRight(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- def forall(f: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).forall(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.forall(...) instead
- def foreach[U](f: (A) => U): Unit
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).foreach(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foreach(...) instead
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toStringFormat[SimpleArraySet[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def hasDefiniteSize: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).isEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.isEmpty instead
- def map[B](f: (A) => B): IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).map(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.map instead or consider requiring an Iterable
- def max(implicit ord: Ordering[A]): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).max(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.max instead
- def maxBy[B](f: (A) => B)(implicit cmp: Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).maxBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.maxBy(...) instead
- def min(implicit ord: Ordering[A]): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).min(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.min instead
- def minBy[B](f: (A) => B)(implicit cmp: Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).minBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.minBy(...) instead
- def mkString: String
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).mkString
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def mkString(sep: String): String
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).mkString(sep)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def mkString(start: String, sep: String, end: String): String
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).mkString(start, sep, end)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).nonEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.nonEmpty instead
- def product(implicit num: Numeric[A]): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).product(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.product instead
- def reduce(f: (A, A) => A): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).reduce(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduce(...) instead
- def reduceLeft(f: (A, A) => A): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).reduceLeft(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeft(...) instead
- def reduceLeftOption(f: (A, A) => A): Option[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).reduceLeftOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeftOption(...) instead
- def reduceOption(f: (A, A) => A): Option[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).reduceOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceOption(...) instead
- def reduceRight(f: (A, A) => A): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).reduceRight(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRight(...) instead
- def reduceRightOption(f: (A, A) => A): Option[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).reduceRightOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRightOption(...) instead
- final def repr: SimpleArraySet[A]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- final def retain(p: (A) => Boolean): Unit
- Definition Classes
- SetOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use filterInPlace instead
- def sameElements[B >: A](that: IterableOnce[B]): Boolean
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sameElements instead
- def seq: SimpleArraySet.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- def size: Int
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).size
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.size instead
- def sum(implicit num: Numeric[A]): A
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).sum(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sum instead
- def to[C1](factory: Factory[A, C1]): C1
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).to(factory)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(factory) instead
- def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toArray(arg0)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toArray
- def toBuffer[B >: A]: Buffer[B]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toBuffer
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(ArrayBuffer) instead
- def toIndexedSeq: IndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toIndexedSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toIndexedSeq instead
- final def toIterable: Iterable[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toIterable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- final def toIterable: SimpleArraySet.this.type
- Definition Classes
- Iterable → IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- def toIterator: Iterator[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toIterator
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead
- final def toIterator: Iterator[A]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- def toList: List[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toList
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(List) instead
- def toMap[K, V](implicit ev: <:<[A, (K, V)]): Map[K, V]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toMap(ev)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(Map) instead
- def toSeq: Seq[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Seq) instead
- def toSet[B >: A]: Set[B]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toSet
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Set) instead
- def toStream: Stream[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toStream
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(LazyList) instead
- final def toStream: Stream[A]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toTraversable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- final def toTraversable: Traversable[A]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- def toVector: Vector[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).toVector
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Vector) instead
- def view(from: Int, until: Int): View[A]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)
- def withFilter(f: (A) => Boolean): Iterator[A]
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toIterableOnceExtensionMethods[A] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(simpleArraySet: IterableOnceExtensionMethods[A]).withFilter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.withFilter(...) instead
- def →[B](y: B): (SimpleArraySet[A], B)
- Implicit
- This member is added by an implicit conversion from SimpleArraySet[A] toArrowAssoc[SimpleArraySet[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Welcome to the Graph for Scala API reference. Some suggested entry points:
AnyGraph
immutable.Graph
and its inner nodesmutable.Graph
and its inner nodes.edges
package and its subpackageshyperedges
package and its subpackages.labeled edges
packagemultilabeled edges
packagelabeled hyperedges
packagemultilabeled hyperedges
packageordered labeled hyperedges
packageordered multilabeled hyperedges
objectgeneric
package.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.