abstract class Indices[B] extends Set[B]
- Attributes
- protected
- Alphabetic
- By Inheritance
- Indices
- Set
- SetLike
- Cloneable
- Cloneable
- Cloneable
- Shrinkable
- Builder
- Growable
- Clearable
- Scriptable
- Set
- SetLike
- Subtractable
- GenSet
- GenericSetTemplate
- GenSetLike
- Function1
- Iterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- Traversable
- Mutable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&(that: GenSet[B]): Set[B]
- Definition Classes
- GenSetLike
-
def
&~(that: GenSet[B]): Set[B]
- Definition Classes
- GenSetLike
-
def
+(elem1: B, elem2: B, elems: B*): Set[B]
- Definition Classes
- SetLike → SetLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new set. Use+=
to add an element to this set and return that set itself.
-
def
+(elem: B): Set[B]
- Definition Classes
- SetLike → SetLike → GenSetLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new set. Use+=
to add an element to this set and return that set itself.
-
def
++(xs: GenTraversableOnce[B]): Set[B]
- Definition Classes
- SetLike → SetLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
++
creates a new set. Use++=
to add elements to this set and return that set itself.
-
def
++[B >: B, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: B, That](that: collection.Traversable[B])(implicit bf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: B, That](that: collection.TraversableOnce[B])(implicit bf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: collection.TraversableOnce[B]): Indices.this.type
- Definition Classes
- Growable
-
def
+=(elem1: B, elem2: B, elems: B*): Indices.this.type
- Definition Classes
- Growable
-
def
-(elem1: B, elem2: B, elems: B*): Set[B]
- Definition Classes
- SetLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new set. Use-=
to remove an element from this set and return that set itself.
-
def
-(elem: B): Set[B]
- Definition Classes
- SetLike → SetLike → Subtractable → GenSetLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new set. Use-=
to remove an element from this set and return that set itself.
-
def
--(xs: GenTraversableOnce[B]): Set[B]
- Definition Classes
- SetLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
--
creates a new set. Use--=
to remove elements from this set and return that set itself.
-
def
--=(xs: collection.TraversableOnce[B]): Indices.this.type
- Definition Classes
- Shrinkable
-
def
-=(elem1: B, elem2: B, elems: B*): Indices.this.type
- Definition Classes
- Shrinkable
-
def
/:[B](z: B)(op: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:\[B](z: B)(op: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(elem: B): Boolean
- Definition Classes
- SetLike
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, B) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[A](g: (Boolean) ⇒ A): (B) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(elem: B): Boolean
- Definition Classes
- GenSetLike → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
clear(): Unit
- Definition Classes
- SetLike → Builder → Growable → Clearable
-
def
clone(): Set[B]
- Definition Classes
- SetLike → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[B, B])(implicit bf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[B, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
companion: GenericCompanion[Set]
- Definition Classes
- Set → Set → GenSet → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ B): (A) ⇒ Boolean
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
contains(n: B): Boolean
- Definition Classes
- Indices → SetLike → GenSetLike
-
def
copyToArray[B >: B](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: B](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: B](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: B](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
count(p: (B) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
diff(that: GenSet[B]): Set[B]
- Definition Classes
- SetLike → GenSetLike
-
def
drop(n: Int): Set[B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): Set[B]
- Definition Classes
- IterableLike
-
def
dropWhile(p: (B) ⇒ Boolean): Set[B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
empty: Set[B]
- Definition Classes
- GenericSetTemplate
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- GenSetLike → Equals → AnyRef → Any
-
def
exists(p: (B) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: (B) ⇒ Boolean): Set[B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot(p: (B) ⇒ Boolean): Set[B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (B) ⇒ Boolean): Option[B]
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flatMap[B, That](f: (B) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: (B) ⇒ GenTraversableOnce[B]): Set[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: B](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (B, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: (B) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (B) ⇒ U): Unit
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, Set[B]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: (B) ⇒ K): Map[K, Set[B]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): collection.Iterator[Set[B]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- GenSetLike → AnyRef → Any
-
def
head: B
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
headOption: Option[B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
init: Set[B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits: collection.Iterator[Set[B]]
- Definition Classes
- TraversableLike
-
def
intersect(that: GenSet[B]): Set[B]
- Definition Classes
- GenSetLike
-
def
isEmpty: Boolean
- Definition Classes
- SetLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: Iterator[B]
- Definition Classes
- Indices → GenSetLike → IterableLike → GenIterableLike
-
def
last: B
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastOption: Option[B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
map[B, That](f: (B) ⇒ B)(implicit bf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- SetLike → TraversableLike → GenTraversableLike → FilterMonadic
- Annotations
- @migration
- Migration
(Changed in version 2.8.0) Set.map now returns a Set, so it will discard duplicate values.
-
def
mapResult[NewTo](f: (Set[B]) ⇒ NewTo): Builder[B, NewTo]
- Definition Classes
- Builder
-
def
max[B >: B](implicit cmp: Ordering[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (B) ⇒ B)(implicit cmp: Ordering[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: B](implicit cmp: Ordering[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (B) ⇒ B)(implicit cmp: Ordering[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[B, Set[B]]
- Attributes
- protected[this]
- Definition Classes
- SetLike → SetLike → TraversableLike → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
par: ParSet[B]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[B, ParSet[B]]
- Attributes
- protected[this]
- Definition Classes
- SetLike → SetLike → TraversableLike → Parallelizable
-
def
partition(p: (B) ⇒ Boolean): (Set[B], Set[B])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
product[B >: B](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce[A1 >: B](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: B](op: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: B](op: (B, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: B](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: B](op: (B, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: B](op: (B, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
remove(elem: B): Boolean
- Definition Classes
- SetLike
-
def
repr: Set[B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
result(): Set[B]
- Definition Classes
- SetLike → Builder
-
def
retain(p: (B) ⇒ Boolean): Unit
- Definition Classes
- SetLike
-
def
reversed: List[B]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
sameElements[B >: B](that: GenIterable[B]): Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan[B >: B, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, B) ⇒ B)(implicit bf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: (B, B) ⇒ B)(implicit bf: CanBuildFrom[Set[B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
seq: Set[B]
- Definition Classes
- Set → Set → GenSet → GenSetLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size: Int
- Definition Classes
- Indices → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
def
slice(from: Int, until: Int): Set[B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): collection.Iterator[Set[B]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): collection.Iterator[Set[B]]
- Definition Classes
- IterableLike
-
def
span(p: (B) ⇒ Boolean): (Set[B], Set[B])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (Set[B], Set[B])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
stringPrefix: String
- Definition Classes
- SetLike → TraversableLike → GenTraversableLike
-
def
subsetOf(that: GenSet[B]): Boolean
- Definition Classes
- GenSetLike
-
def
subsets(): collection.Iterator[Set[B]]
- Definition Classes
- SetLike
-
def
subsets(len: Int): collection.Iterator[Set[B]]
- Definition Classes
- SetLike
-
def
sum[B >: B](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Set[B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: collection.Iterator[Set[B]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): Set[B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): Set[B]
- Definition Classes
- IterableLike
-
def
takeWhile(p: (B) ⇒ Boolean): Set[B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: collection.Iterable[B]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, B, Col[B]]): Col[B]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: B](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[A1 >: B]: Buffer[A1]
- Definition Classes
- SetLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: Set[B]): collection.Iterable[B]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
toIndexedSeq: collection.immutable.IndexedSeq[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: collection.Iterable[B]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: collection.Iterator[B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[B, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: collection.Seq[B]
- Definition Classes
- SetLike → SetLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: B]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: collection.immutable.Stream[B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- SetLike → Function1 → TraversableLike → AnyRef → Any
-
def
toTraversable: collection.Traversable[B]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transpose[B](implicit asTraversable: (B) ⇒ GenTraversableOnce[B]): Set[Set[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
union(that: GenSet[B]): Set[B]
- Definition Classes
- SetLike → GenSetLike
-
def
unzip[A1, A2](implicit asPair: (B) ⇒ (A1, A2)): (Set[A1], Set[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (B) ⇒ (A1, A2, A3)): (Set[A1], Set[A2], Set[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(elem: B, included: Boolean): Unit
- Definition Classes
- SetLike
-
def
view(from: Int, until: Int): IterableView[B, Set[B]]
- Definition Classes
- IterableLike → TraversableLike
-
def
view: IterableView[B, Set[B]]
- Definition Classes
- IterableLike → TraversableLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withFilter(p: (B) ⇒ Boolean): FilterMonadic[B, Set[B]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: B, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Set[B], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: B, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Set[B], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: B, That](implicit bf: CanBuildFrom[Set[B], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
|(that: GenSet[B]): Set[B]
- Definition Classes
- GenSetLike
Deprecated Value Members
-
def
<<(cmd: Message[B]): Unit
- Definition Classes
- SetLike → Scriptable
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) scripting is deprecated