ShadowingSeq

scala.build.options.ShadowingSeq
See theShadowingSeq companion object
final case class ShadowingSeq[T]

Seq ensuring some of its values are unique according to some key

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def ++(other: Seq[T])(implicit key: KeyOf[T]): ShadowingSeq[T]
def filter(f: T => Boolean)(implicit key: KeyOf[T]): ShadowingSeq[T]
def filterKeys(f: T => Boolean): ShadowingSeq[T]
def filterSubSeq(f: Seq[T] => Boolean): ShadowingSeq[T]
def get(key: T): Seq[T]
def keyValueMap: Map[T, Seq[T]]
def keys: Seq[T]
def map[U](f: T => U)(implicit key: KeyOf[U]): ShadowingSeq[U]
def mapSubSeq[U](f: Seq[T] => Seq[U]): ShadowingSeq[U]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val toSeq: Seq[T]