class LazyMappedSet[A, B] extends Set[B]

Transform a set by applying a given injective function to all of its arguments.

Linear Supertypes
Set[B], SetOps[B, Set, Set[B]], Set[B], Equals, SetOps[B, [_]Set[_], Set[B]], (B) => Boolean, Iterable[B], Iterable[B], IterableFactoryDefaults[B, [x]Set[x]], IterableOps[B, [_]Set[_], Set[B]], IterableOnceOps[B, [_]Set[_], Set[B]], IterableOnce[B], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LazyMappedSet
  2. Set
  3. SetOps
  4. Set
  5. Equals
  6. SetOps
  7. Function1
  8. Iterable
  9. Iterable
  10. IterableFactoryDefaults
  11. IterableOps
  12. IterableOnceOps
  13. IterableOnce
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LazyMappedSet(oriSet: Set[A], mapping: (A) => B, unmapping: PartialFunction[B, A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def &(that: Set[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()
  4. final def &~(that: Set[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()
  5. final def +(elem: B): Set[B]
    Definition Classes
    SetOps → SetOps
  6. final def ++(that: IterableOnce[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()
  7. final def ++[B >: B](suffix: IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  8. final def -(elem: B): Set[B]
    Definition Classes
    SetOps → SetOps
    Annotations
    @inline()
  9. final def --(that: IterableOnce[B]): Set[B]
    Definition Classes
    SetOps → SetOps
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  12. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  13. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  14. def andThen[A](g: (Boolean) => A): (B) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  15. final def apply(elem: B): Boolean
    Definition Classes
    SetOps → Function1
    Annotations
    @inline()
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def canEqual(that: Any): Boolean
    Definition Classes
    Set → Equals
  18. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  20. final def coll: LazyMappedSet.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  21. def collect[B](pf: PartialFunction[B, B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  22. def collectFirst[B](pf: PartialFunction[B, B]): Option[B]
    Definition Classes
    IterableOnceOps
  23. def compose[A](g: (A) => B): (A) => Boolean
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  24. def concat(that: IterableOnce[B]): Set[B]
    Definition Classes
    SetOps
  25. def concat[B >: B](suffix: IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps
  26. def contains(x: B): Boolean
    Definition Classes
    LazyMappedSet → SetOps
  27. def copyToArray[B >: B](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  28. def copyToArray[B >: B](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  29. def copyToArray[B >: B](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  30. def corresponds[B](that: IterableOnce[B])(p: (B, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  31. def count(p: (B) => Boolean): Int
    Definition Classes
    IterableOnceOps
  32. def diff(that: Set[B]): Set[B]
    Definition Classes
    SetOps → SetOps
  33. def drop(n: Int): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  34. def dropRight(n: Int): Set[B]
    Definition Classes
    IterableOps
  35. def dropWhile(p: (B) => Boolean): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  36. def empty: Set[B]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def equals(that: Any): Boolean
    Definition Classes
    Set → Equals → AnyRef → Any
  39. def excl(elem: B): Nothing
    Definition Classes
    LazyMappedSet → SetOps
  40. def exists(p: (B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  41. def filter(pred: (B) => Boolean): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  42. def filterNot(pred: (B) => Boolean): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  43. def find(p: (B) => Boolean): Option[B]
    Definition Classes
    IterableOnceOps
  44. def flatMap[B](f: (B) => IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  45. def flatten[B](implicit asIterable: (B) => IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  46. def fold[A1 >: B](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  47. def foldLeft[B](z: B)(op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  48. def foldRight[B](z: B)(op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  49. def forall(p: (B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  50. def foreach[U](f: (B) => U): Unit
    Definition Classes
    IterableOnceOps
  51. def fromSpecific(coll: IterableOnce[B]): Set[B]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  52. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  53. def groupBy[K](f: (B) => K): Map[K, Set[B]]
    Definition Classes
    IterableOps
  54. def groupMap[K, B](key: (B) => K)(f: (B) => B): Map[K, Set[B]]
    Definition Classes
    IterableOps
  55. def groupMapReduce[K, B](key: (B) => K)(f: (B) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  56. def grouped(size: Int): Iterator[Set[B]]
    Definition Classes
    IterableOps
  57. def hashCode(): Int
    Definition Classes
    Set → AnyRef → Any
  58. def head: B
    Definition Classes
    IterableOps
  59. def headOption: Option[B]
    Definition Classes
    IterableOps
  60. def incl(elem: B): Nothing
    Definition Classes
    LazyMappedSet → SetOps
  61. def init: Set[B]
    Definition Classes
    IterableOps
  62. def inits: Iterator[Set[B]]
    Definition Classes
    IterableOps
  63. def intersect(that: Set[B]): Set[B]
    Definition Classes
    SetOps
  64. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  65. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  66. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  67. def iterableFactory: IterableFactory[Set]
    Definition Classes
    Set → Set → Iterable → Iterable → IterableOps
  68. def iterator: Iterator[B]
    Definition Classes
    LazyMappedSet → IterableOnce
  69. def knownSize: Int
    Definition Classes
    IterableOnce
  70. def last: B
    Definition Classes
    IterableOps
  71. def lastOption: Option[B]
    Definition Classes
    IterableOps
  72. def lazyZip[B](that: Iterable[B]): LazyZip2[B, B, LazyMappedSet.this.type]
    Definition Classes
    Iterable
  73. def map[B](f: (B) => B): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  74. def max[B >: B](implicit ord: Ordering[B]): B
    Definition Classes
    IterableOnceOps
  75. def maxBy[B](f: (B) => B)(implicit ord: Ordering[B]): B
    Definition Classes
    IterableOnceOps
  76. def maxByOption[B](f: (B) => B)(implicit ord: Ordering[B]): Option[B]
    Definition Classes
    IterableOnceOps
  77. def maxOption[B >: B](implicit ord: Ordering[B]): Option[B]
    Definition Classes
    IterableOnceOps
  78. def min[B >: B](implicit ord: Ordering[B]): B
    Definition Classes
    IterableOnceOps
  79. def minBy[B](f: (B) => B)(implicit ord: Ordering[B]): B
    Definition Classes
    IterableOnceOps
  80. def minByOption[B](f: (B) => B)(implicit ord: Ordering[B]): Option[B]
    Definition Classes
    IterableOnceOps
  81. def minOption[B >: B](implicit ord: Ordering[B]): Option[B]
    Definition Classes
    IterableOnceOps
  82. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  83. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  84. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  85. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  86. def newSpecificBuilder: Builder[B, Set[B]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  87. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  88. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  89. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  90. def partition(p: (B) => Boolean): (Set[B], Set[B])
    Definition Classes
    IterableOps
  91. def partitionMap[A1, A2](f: (B) => Either[A1, A2]): (Set[A1], Set[A2])
    Definition Classes
    IterableOps
  92. def product[B >: B](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  93. def reduce[B >: B](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  94. def reduceLeft[B >: B](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  95. def reduceLeftOption[B >: B](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  96. def reduceOption[B >: B](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  97. def reduceRight[B >: B](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  98. def reduceRightOption[B >: B](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  99. def removedAll(that: IterableOnce[B]): Set[B]
    Definition Classes
    SetOps
  100. def reversed: Iterable[B]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  101. def scan[B >: B](z: B)(op: (B, B) => B): Set[B]
    Definition Classes
    IterableOps
  102. def scanLeft[B](z: B)(op: (B, B) => B): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  103. def scanRight[B](z: B)(op: (B, B) => B): Set[B]
    Definition Classes
    IterableOps
  104. def size: Int
    Definition Classes
    LazyMappedSet → IterableOnceOps
  105. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  106. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  107. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  108. def slice(from: Int, until: Int): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  109. def sliding(size: Int, step: Int): Iterator[Set[B]]
    Definition Classes
    IterableOps
  110. def sliding(size: Int): Iterator[Set[B]]
    Definition Classes
    IterableOps
  111. def span(p: (B) => Boolean): (Set[B], Set[B])
    Definition Classes
    IterableOps → IterableOnceOps
  112. def splitAt(n: Int): (Set[B], Set[B])
    Definition Classes
    IterableOps → IterableOnceOps
  113. def stepper[S <: Stepper[_]](implicit shape: StepperShape[B, S]): S
    Definition Classes
    IterableOnce
  114. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Set → Iterable
  115. def subsetOf(that: Set[B]): Boolean
    Definition Classes
    SetOps
  116. def subsets(): Iterator[Set[B]]
    Definition Classes
    SetOps
  117. def subsets(len: Int): Iterator[Set[B]]
    Definition Classes
    SetOps
  118. def sum[B >: B](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  119. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  120. def tail: Set[B]
    Definition Classes
    IterableOps
  121. def tails: Iterator[Set[B]]
    Definition Classes
    IterableOps
  122. def take(n: Int): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  123. def takeRight(n: Int): Set[B]
    Definition Classes
    IterableOps
  124. def takeWhile(p: (B) => Boolean): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  125. def tapEach[U](f: (B) => U): Set[B]
    Definition Classes
    IterableOps → IterableOnceOps
  126. def to[C1](factory: Factory[B, C1]): C1
    Definition Classes
    IterableOnceOps
  127. def toArray[B >: B](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  128. final def toBuffer[B >: B]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  129. def toIndexedSeq: IndexedSeq[B]
    Definition Classes
    IterableOnceOps
  130. def toList: List[B]
    Definition Classes
    IterableOnceOps
  131. def toMap[K, V](implicit ev: <:<[B, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  132. def toSeq: Seq[B]
    Definition Classes
    IterableOnceOps
  133. def toSet[B >: B]: Set[B]
    Definition Classes
    IterableOnceOps
  134. def toString(): String
    Definition Classes
    Set → Function1 → Iterable → AnyRef → Any
  135. def toVector: Vector[B]
    Definition Classes
    IterableOnceOps
  136. def transpose[B](implicit asIterable: (B) => Iterable[B]): Set[Set[B]]
    Definition Classes
    IterableOps
  137. final def union(that: Set[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()
  138. def unzip[A1, A2](implicit asPair: (B) => (A1, A2)): (Set[A1], Set[A2])
    Definition Classes
    IterableOps
  139. def unzip3[A1, A2, A3](implicit asTriple: (B) => (A1, A2, A3)): (Set[A1], Set[A2], Set[A3])
    Definition Classes
    IterableOps
  140. def view: View[B]
    Definition Classes
    IterableOps
  141. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  142. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  143. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  144. def withFilter(p: (B) => Boolean): WithFilter[B, [_]Set[_]]
    Definition Classes
    IterableOps
  145. def zip[B](that: IterableOnce[B]): Set[(B, B)]
    Definition Classes
    IterableOps
  146. def zipAll[A1 >: B, B](that: Iterable[B], thisElem: A1, thatElem: B): Set[(A1, B)]
    Definition Classes
    IterableOps
  147. def zipWithIndex: Set[(B, Int)]
    Definition Classes
    IterableOps → IterableOnceOps
  148. final def |(that: Set[B]): Set[B]
    Definition Classes
    SetOps
    Annotations
    @inline()

Deprecated Value Members

  1. def +(elem1: B, elem2: B, elems: B*): Set[B]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs

  2. def ++:[B >: B](that: IterableOnce[B]): Set[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  3. def -(elem1: B, elem2: B, elems: B*): Set[B]
    Definition Classes
    SetOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use &- with an explicit collection argument instead of - with varargs

  4. final def /:[B](z: B)(op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  5. final def :\[B](z: B)(op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  6. def aggregate[B](z: => B)(seqop: (B, B) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) For sequential collections, prefer foldLeft(z)(seqop). For parallel collections, use ParIterableLike#aggregate.

  7. def companion: IterableFactory[[_]Set[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  8. final def copyToBuffer[B >: B](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  10. 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)

  11. final def repr: Set[B]
    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

  12. def seq: LazyMappedSet.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  13. final def toIterable: LazyMappedSet.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 or toSeq, but it doesn't copy non-immutable collections

  14. final def toIterator: Iterator[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  15. final def toStream: Stream[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  16. final def toTraversable: Traversable[B]
    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 or toSeq, but it doesn't copy non-immutable collections

  17. def view(from: Int, until: Int): View[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from Set[B]

Inherited from SetOps[B, Set, Set[B]]

Inherited from Set[B]

Inherited from Equals

Inherited from SetOps[B, [_]Set[_], Set[B]]

Inherited from (B) => Boolean

Inherited from Iterable[B]

Inherited from Iterable[B]

Inherited from IterableFactoryDefaults[B, [x]Set[x]]

Inherited from IterableOps[B, [_]Set[_], Set[B]]

Inherited from IterableOnceOps[B, [_]Set[_], Set[B]]

Inherited from IterableOnce[B]

Inherited from AnyRef

Inherited from Any

Ungrouped