SelectionSet

abstract protected class SelectionSet[S](a: => Seq[S]) extends MutableSet[S]

Allows querying and modification of the current selection state, for some unique coordinate S. There may be more than one selection set supporting different coordinates, such as rows and columns.

trait MutableSet[S]
trait Set[S]
trait SetOps[S, Set, Set[S]]
trait Shrinkable[S]
trait Builder[S, Set[S]]
trait Growable[S]
trait Clearable
trait Cloneable[Set[S]]
trait Cloneable
trait Set[S]
trait Equals
trait SetOps[S, Set, Set[S]]
trait S => Boolean
trait Iterable[S]
trait Iterable[S]
trait IterableFactoryDefaults[S, Set]
trait IterableOps[S, Set, Set[S]]
trait IterableOnceOps[S, Set, Set[S]]
trait IterableOnce[S]
class Object
trait Matchable
class Any
object paths.type
object rows.type

Value members

Abstract methods

def ++=(ss: Seq[S]): SelectionSet[S]
def --=(ss: Seq[S]): SelectionSet[S]
def addOne(s: S): SelectionSet[S]

Concrete methods

def contains(s: S): Boolean
def iterator: Iterator[S]
protected def nonNullOrEmpty[A1](s: Seq[A1]): Seq[A1]
override def size: Int
Definition Classes
IterableOnceOps

Inherited methods

@inline
final def &(that: Set[S]): Set[S]
Inherited from:
SetOps
@inline
final def &~(that: Set[S]): Set[S]
Inherited from:
SetOps
@inline
final def ++[B >: S](suffix: IterableOnce[B]): Set[B]
Inherited from:
IterableOps
@inline
final def ++(that: IterableOnce[S]): Set[S]
Inherited from:
SetOps
@inline
final def ++=(xs: IterableOnce[S]): SelectionSet[S]
Inherited from:
Growable
@inline
final def +=(elem: S): SelectionSet[S]
Inherited from:
Growable
@inline
final def --=(xs: IterableOnce[S]): SelectionSet[S]
Inherited from:
Shrinkable
@inline
final def -=(elem: S): SelectionSet[S]
Inherited from:
Shrinkable
def add(elem: S): Boolean
Inherited from:
SetOps
def addAll(xs: IterableOnce[S]): SelectionSet[S]
Inherited from:
Growable
@inline
final def addString(b: StringBuilder): StringBuilder
Inherited from:
IterableOnceOps
@inline
final def addString(b: StringBuilder, sep: String): StringBuilder
Inherited from:
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
Inherited from:
IterableOnceOps
@unspecialized
def andThen[A](g: Boolean => A): S => A
Inherited from:
Function1
@inline
final def apply(elem: S): Boolean
Inherited from:
SetOps
def canEqual(that: Any): Boolean
Inherited from:
Set
override def clear(): Unit
Definition Classes
MutableSet -> Builder -> Clearable
Inherited from:
MutableSet
override def clone(): Set[S]
Definition Classes
SetOps -> Cloneable -> Object
Inherited from:
SetOps
def collect[B](pf: PartialFunction[S, B]): Set[B]
Inherited from:
IterableOps
def collectFirst[B](pf: PartialFunction[S, B]): Option[B]
Inherited from:
IterableOnceOps
@unspecialized
def compose[A](g: A => S): A => Boolean
Inherited from:
Function1
def concat[B >: S](suffix: IterableOnce[B]): Set[B]
Inherited from:
IterableOps
def concat(that: IterableOnce[S]): Set[S]
Inherited from:
SetOps
def copyToArray[B >: S](xs: Array[B], start: Int, len: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: S](xs: Array[B], start: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: S](xs: Array[B]): Int
Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (S, B) => Boolean): Boolean
Inherited from:
IterableOnceOps
def count(p: S => Boolean): Int
Inherited from:
IterableOnceOps
def diff(that: Set[S]): Set[S]
Inherited from:
SetOps
def drop(n: Int): Set[S]
Inherited from:
IterableOps
def dropRight(n: Int): Set[S]
Inherited from:
IterableOps
def dropWhile(p: S => Boolean): Set[S]
Inherited from:
IterableOps
override def empty: Set[S]
Definition Classes
IterableFactoryDefaults -> IterableOps
Inherited from:
IterableFactoryDefaults
override def equals(that: Any): Boolean
Definition Classes
Set -> Equals -> Any
Inherited from:
Set
def exists(p: S => Boolean): Boolean
Inherited from:
IterableOnceOps
def filter(pred: S => Boolean): Set[S]
Inherited from:
IterableOps
def filterInPlace(p: S => Boolean): SelectionSet[S]
Inherited from:
SetOps
def filterNot(pred: S => Boolean): Set[S]
Inherited from:
IterableOps
def find(p: S => Boolean): Option[S]
Inherited from:
IterableOnceOps
def flatMap[B](f: S => IterableOnce[B]): Set[B]
Inherited from:
IterableOps
def flatten[B](implicit asIterable: S => IterableOnce[B]): Set[B]
Inherited from:
IterableOps
def fold[A1 >: S](z: A1)(op: (A1, A1) => A1): A1
Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, S) => B): B
Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: (S, B) => B): B
Inherited from:
IterableOnceOps
def forall(p: S => Boolean): Boolean
Inherited from:
IterableOnceOps
def foreach[U](f: S => U): Unit
Inherited from:
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[S]): Set[S]
Inherited from:
IterableFactoryDefaults
def groupBy[K](f: S => K): Map[K, Set[S]]
Inherited from:
IterableOps
def groupMap[K, B](key: S => K)(f: S => B): Map[K, Set[B]]
Inherited from:
IterableOps
def groupMapReduce[K, B](key: S => K)(f: S => B)(reduce: (B, B) => B): Map[K, B]
Inherited from:
IterableOps
def grouped(size: Int): Iterator[Set[S]]
Inherited from:
IterableOps
override def hashCode(): Int
Definition Classes
Set -> Any
Inherited from:
Set
def head: S
Inherited from:
IterableOps
def headOption: Option[S]
Inherited from:
IterableOps
def init: Set[S]
Inherited from:
IterableOps
def inits: Iterator[Set[S]]
Inherited from:
IterableOps
def intersect(that: Set[S]): Set[S]
Inherited from:
SetOps
def isEmpty: Boolean
Inherited from:
IterableOnceOps
override def isTraversableAgain: Boolean
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
override def iterableFactory: IterableFactory[Set]
Definition Classes
Set -> Set -> Iterable -> Iterable -> IterableOps
Inherited from:
Set
override def knownSize: Int
Definition Classes
SetOps -> Growable -> IterableOnce
Inherited from:
SetOps
def last: S
Inherited from:
IterableOps
def lastOption: Option[S]
Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[S, B, SelectionSet[S]]
Inherited from:
Iterable
def map[B](f: S => B): Set[B]
Inherited from:
IterableOps
def mapResult[NewTo](f: Set[S] => NewTo): Builder[S, NewTo]
Inherited from:
Builder
def max[B >: S](implicit ord: Ordering[B]): S
Inherited from:
IterableOnceOps
def maxBy[B](f: S => B)(implicit cmp: Ordering[B]): S
Inherited from:
IterableOnceOps
def maxByOption[B](f: S => B)(implicit cmp: Ordering[B]): Option[S]
Inherited from:
IterableOnceOps
def maxOption[B >: S](implicit ord: Ordering[B]): Option[S]
Inherited from:
IterableOnceOps
def min[B >: S](implicit ord: Ordering[B]): S
Inherited from:
IterableOnceOps
def minBy[B](f: S => B)(implicit cmp: Ordering[B]): S
Inherited from:
IterableOnceOps
def minByOption[B](f: S => B)(implicit cmp: Ordering[B]): Option[S]
Inherited from:
IterableOnceOps
def minOption[B >: S](implicit ord: Ordering[B]): Option[S]
Inherited from:
IterableOnceOps
@inline
final def mkString: String
Inherited from:
IterableOnceOps
@inline
final def mkString(sep: String): String
Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from:
IterableOnceOps
protected def newSpecificBuilder: Builder[S, Set[S]]
Inherited from:
IterableFactoryDefaults
@deprecatedOverriding(message = "nonEmpty is defined as !isEmpty; override isEmpty instead", since = "2.13.0")
def nonEmpty: Boolean
Inherited from:
IterableOnceOps
def partition(p: S => Boolean): (Set[S], Set[S])
Inherited from:
IterableOps
def partitionMap[A1, A2](f: S => Either[A1, A2]): (Set[A1], Set[A2])
Inherited from:
IterableOps
def product[B >: S](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
def reduce[B >: S](op: (B, B) => B): B
Inherited from:
IterableOnceOps
def reduceLeft[B >: S](op: (B, S) => B): B
Inherited from:
IterableOnceOps
def reduceLeftOption[B >: S](op: (B, S) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceOption[B >: S](op: (B, B) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceRight[B >: S](op: (S, B) => B): B
Inherited from:
IterableOnceOps
def reduceRightOption[B >: S](op: (S, B) => B): Option[B]
Inherited from:
IterableOnceOps
def remove(elem: S): Boolean
Inherited from:
SetOps
def result(): Set[S]
Inherited from:
SetOps
protected def reversed: Iterable[S]
Inherited from:
IterableOnceOps
Inherited from:
Cloneable
def scan[B >: S](z: B)(op: (B, B) => B): Set[B]
Inherited from:
IterableOps
def scanLeft[B](z: B)(op: (B, S) => B): Set[B]
Inherited from:
IterableOps
def scanRight[B](z: B)(op: (S, B) => B): Set[B]
Inherited from:
IterableOps
def sizeCompare(that: Iterable[_]): Int
Inherited from:
IterableOps
def sizeCompare(otherSize: Int): Int
Inherited from:
IterableOps
final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
Inherited from:
Builder
def sizeHint(size: Int): Unit
Inherited from:
Builder
final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
Inherited from:
Builder
@inline
final def sizeIs: SizeCompareOps
Inherited from:
IterableOps
def slice(from: Int, until: Int): Set[S]
Inherited from:
IterableOps
def sliding(size: Int, step: Int): Iterator[Set[S]]
Inherited from:
IterableOps
def sliding(size: Int): Iterator[Set[S]]
Inherited from:
IterableOps
def span(p: S => Boolean): (Set[S], Set[S])
Inherited from:
IterableOps
override def splitAt(n: Int): (Set[S], Set[S])
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[S, S]): S
Inherited from:
IterableOnce
def subsetOf(that: Set[S]): Boolean
Inherited from:
SetOps
def subsets(): Iterator[Set[S]]
Inherited from:
SetOps
def subsets(len: Int): Iterator[Set[S]]
Inherited from:
SetOps
def subtractAll(xs: IterableOnce[S]): SelectionSet[S]
Inherited from:
Shrinkable
def sum[B >: S](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
def tail: Set[S]
Inherited from:
IterableOps
def tails: Iterator[Set[S]]
Inherited from:
IterableOps
def take(n: Int): Set[S]
Inherited from:
IterableOps
def takeRight(n: Int): Set[S]
Inherited from:
IterableOps
def takeWhile(p: S => Boolean): Set[S]
Inherited from:
IterableOps
override def tapEach[U](f: S => U): Set[S]
Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def to[C1](factory: Factory[S, C1]): C1
Inherited from:
IterableOnceOps
def toArray[B >: S : ClassTag]: Array[B]
Inherited from:
IterableOnceOps
@inline
final def toBuffer[B >: S]: Buffer[B]
Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[S]
Inherited from:
IterableOnceOps
def toList: List[S]
Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: S <:< (K, V)): Map[K, V]
Inherited from:
IterableOnceOps
def toSeq: Seq[S]
Inherited from:
IterableOnceOps
def toSet[B >: S]: Set[B]
Inherited from:
IterableOnceOps
override def toString(): String
Definition Classes
Set -> Function1 -> Iterable -> Any
Inherited from:
Set
def toVector: Vector[S]
Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: S => Iterable[B]): Set[Set[B]]
Inherited from:
IterableOps
@inline
final def union(that: Set[S]): Set[S]
Inherited from:
SetOps
def unzip[A1, A2](implicit asPair: S => (A1, A2)): (Set[A1], Set[A2])
Inherited from:
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: S => (A1, A2, A3)): (Set[A1], Set[A2], Set[A3])
Inherited from:
IterableOps
def update(elem: S, included: Boolean): Unit
Inherited from:
SetOps
def view: View[S]
Inherited from:
IterableOps
def withFilter(p: S => Boolean): WithFilter[S, Set]
Inherited from:
IterableOps
def zip[B](that: IterableOnce[B]): Set[(S, B)]
Inherited from:
IterableOps
def zipAll[A1 >: S, B](that: Iterable[B], thisElem: A1, thatElem: B): Set[(A1, B)]
Inherited from:
IterableOps
def zipWithIndex: Set[(S, Int)]
Inherited from:
IterableOps
@inline
final def |(that: Set[S]): Set[S]
Inherited from:
SetOps

Deprecated and Inherited methods

@deprecated(message = "Use ++ with an explicit collection argument instead of + with varargs", since = "2.13.0")
def +(elem1: S, elem2: S, elems: S*): Set[S]
Deprecated
[Since version 2.13.0] Use ++ with an explicit collection argument instead of + with varargs
Inherited from:
SetOps
@deprecated(message = "Consider requiring an immutable Set or fall back to Set.union", since = "2.13.0")
def +(elem: S): Set[S]
Deprecated
[Since version 2.13.0] Consider requiring an immutable Set or fall back to Set.union
Inherited from:
SetOps
@deprecated(message = "Use ++ instead of ++: for collections of type Iterable", since = "2.13.0")
def ++:[B >: S](that: IterableOnce[B]): Set[B]
Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
IterableOps
@inline @deprecated(message = "Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated", since = "2.13.0")
final def +=(elem1: S, elem2: S, elems: S*): SelectionSet[S]
Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable
@deprecated(message = "Use &- with an explicit collection argument instead of - with varargs", since = "2.13.0")
def -(elem1: S, elem2: S, elems: S*): Set[S]
Deprecated
[Since version 2.13.0] Use &- with an explicit collection argument instead of - with varargs
Inherited from:
SetOps
@deprecated(message = "Consider requiring an immutable Set or fall back to Set.diff", since = "2.13.0")
def -(elem: S): Set[S]
Deprecated
[Since version 2.13.0] Consider requiring an immutable Set or fall back to Set.diff
Inherited from:
SetOps
@deprecated(message = "Consider requiring an immutable Set", since = "2.13.0")
def --(that: IterableOnce[S]): Set[S]
Deprecated
[Since version 2.13.0] Consider requiring an immutable Set
Inherited from:
SetOps
@deprecated(message = "Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated", since = "2.13.3")
def -=(elem1: S, elem2: S, elems: S*): SelectionSet[S]
Deprecated
[Since version 2.13.3] Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Shrinkable
@inline @deprecated(message = "Use foldLeft instead of /:", since = "2.13.0")
final def /:[B](z: B)(op: (B, S) => B): B
Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use foldRight instead of :\\", since = "2.13.0")
final def :\[B](z: B)(op: (S, B) => B): B
Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
@deprecated(message = "`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", since = "2.13.0")
def aggregate[B](z: => B)(seqop: (B, S) => B, combop: (B, B) => B): B
Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
@inline @deprecatedOverriding(message = "Use iterableFactory instead", since = "2.13.0") @deprecated(message = "Use iterableFactory instead", since = "2.13.0")
def companion: IterableFactory[Set]
Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
@inline @deprecated(message = "Use `dest ++= coll` instead", since = "2.13.0")
final def copyToBuffer[B >: S](dest: Buffer[B]): Unit
Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
@deprecated(message = "Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", since = "2.13.0")
def hasDefiniteSize: Boolean
Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
@deprecated(message = "Use coll instead of repr in a collection implementation, use the collection value itself from the outside", since = "2.13.0")
final def repr: Set[S]
Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
@inline @deprecated(message = "Use filterInPlace instead", since = "2.13.0")
final def retain(p: S => Boolean): Unit
Deprecated
[Since version 2.13.0] Use filterInPlace instead
Inherited from:
SetOps
@deprecated(message = "Iterable.seq always returns the iterable itself", since = "2.13.0")
Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
@deprecated(message = "toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.7")
final def toIterable: SelectionSet[S]
Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
@inline @deprecated(message = "Use .iterator instead of .toIterator", since = "2.13.0")
final def toIterator: Iterator[S]
Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use .to(LazyList) instead of .toStream", since = "2.13.0")
final def toStream: Stream[S]
Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
@deprecated(message = "toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.0")
final def toTraversable: Iterable[S]
Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
@deprecated(message = "Use .view.slice(from, until) instead of .view(from, until)", since = "2.13.0")
def view(from: Int, until: Int): View[S]
Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Inherited from:
IterableOps