class SnowflakeMap[K, +V] extends AbstractMap[SnowflakeType[K], V] with StrictOptimizedMapOps[SnowflakeType[K], V, Map, SnowflakeMap[K, V]] with Serializable
- Source
- SnowflakeMap.scala
- Alphabetic
- By Inheritance
- SnowflakeMap
- Serializable
- StrictOptimizedMapOps
- StrictOptimizedMapOps
- StrictOptimizedIterableOps
- AbstractMap
- Map
- MapOps
- Iterable
- AbstractMap
- Map
- Equals
- MapFactoryDefaults
- MapOps
- PartialFunction
- Function1
- AbstractIterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait GenKeySet extends AnyRef
- Attributes
- protected
- Definition Classes
- MapOps
- class ImmutableKeySet extends AbstractSet[K] with scala.collection.immutable.MapOps.GenKeySet with DefaultSerializable
- Attributes
- protected
- Definition Classes
- MapOps
- type Key = SnowflakeType[K]
- class KeySet extends AbstractSet[K] with GenKeySet with DefaultSerializable
- Attributes
- protected
- Definition Classes
- MapOps
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +[V1 >: V](kv: (Key, V1)): SnowflakeMap[K, V1]
- Definition Classes
- SnowflakeMap → MapOps → MapOps
- def ++[V1 >: V](that: IterableOnce[(Key, V1)]): SnowflakeMap[K, V1]
- Definition Classes
- SnowflakeMap → MapOps
- def ++[S >: V](that: SnowflakeMap[K, S]): SnowflakeMap[K, S]
- final def ++[B >: (SnowflakeType[K], V)](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def -(key: SnowflakeType[K]): SnowflakeMap[K, V]
- Definition Classes
- MapOps
- Annotations
- @inline()
- final def --(keys: IterableOnce[SnowflakeType[K]]): SnowflakeMap[K, V]
- Definition Classes
- MapOps → MapOps
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- MapOps → IterableOnceOps
- final def addString(b: StringBuilder): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def andThen[C](k: PartialFunction[V, C]): PartialFunction[SnowflakeType[K], C]
- Definition Classes
- PartialFunction
- def andThen[C](k: (V) => C): PartialFunction[SnowflakeType[K], C]
- Definition Classes
- PartialFunction → Function1
- final def apply(key: Key): V
- Definition Classes
- SnowflakeMap → MapOps → Function1
- def applyOrElse[K1 <: SnowflakeType[K], V1 >: V](x: K1, default: (K1) => V1): V1
- Definition Classes
- MapOps → PartialFunction
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
- Definition Classes
- Map → Equals
- def className: String
- Attributes
- protected[this]
- Definition Classes
- SnowflakeMap → Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def coll: SnowflakeMap.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[K2, V2](pf: PartialFunction[(Key, V), (SnowflakeType[K2], V2)]): SnowflakeMap[K2, V2]
- def collect[K2, V2](pf: PartialFunction[(SnowflakeType[K], V), (K2, V2)]): Map[K2, V2]
- Definition Classes
- StrictOptimizedMapOps → MapOps
- def collect[B](pf: PartialFunction[(SnowflakeType[K], V), B]): Iterable[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[(SnowflakeType[K], V), B]): Option[B]
- Definition Classes
- IterableOnceOps
- def compose[R](k: PartialFunction[R, SnowflakeType[K]]): PartialFunction[R, V]
- Definition Classes
- PartialFunction
- def compose[A](g: (A) => SnowflakeType[K]): (A) => V
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def concat[V1 >: V](that: IterableOnce[(Key, V1)]): SnowflakeMap[K, V1]
- Definition Classes
- SnowflakeMap → StrictOptimizedMapOps → StrictOptimizedMapOps → MapOps
- def concat[B >: (SnowflakeType[K], V)](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- def contains(key: SnowflakeType[K]): Boolean
- Definition Classes
- MapOps
- def copyToArray[B >: (SnowflakeType[K], V)](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: (SnowflakeType[K], V)](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: (SnowflakeType[K], V)](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: IterableOnce[B])(p: ((SnowflakeType[K], V), B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: ((SnowflakeType[K], V)) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def default(key: SnowflakeType[K]): V
- Definition Classes
- MapOps
- Annotations
- @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
- def drop(n: Int): SnowflakeMap[K, V]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): SnowflakeMap[K, V]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def dropWhile(p: ((SnowflakeType[K], V)) => Boolean): SnowflakeMap[K, V]
- Definition Classes
- IterableOps → IterableOnceOps
- def elementWise: ElementWiseExtractor[SnowflakeType[K], V]
- Definition Classes
- PartialFunction
- def empty: SnowflakeMap[K, V]
- Definition Classes
- SnowflakeMap → MapFactoryDefaults → IterableFactoryDefaults → IterableOps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
- Definition Classes
- Map → Equals → AnyRef → Any
- def exists(p: ((SnowflakeType[K], V)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(p: ((Key, V)) => Boolean): SnowflakeMap[K, V]
- Definition Classes
- SnowflakeMap → StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def filterImpl(pred: ((SnowflakeType[K], V)) => Boolean, isFlipped: Boolean): SnowflakeMap[K, V]
- Attributes
- protected[collection]
- Definition Classes
- StrictOptimizedIterableOps
- def filterNot(pred: ((SnowflakeType[K], V)) => Boolean): SnowflakeMap[K, V]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def find(p: ((SnowflakeType[K], V)) => Boolean): Option[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- final def firstKey: Key
- def flatMap[K2, V2](f: ((Key, V)) => IterableOnce[(SnowflakeType[K2], V2)]): SnowflakeMap[K2, V2]
- def flatMap[K2, V2](f: ((SnowflakeType[K], V)) => IterableOnce[(K2, V2)]): Map[K2, V2]
- Definition Classes
- StrictOptimizedMapOps → MapOps
- def flatMap[B](f: ((SnowflakeType[K], V)) => IterableOnce[B]): Iterable[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def flatten[B](implicit toIterableOnce: ((SnowflakeType[K], V)) => IterableOnce[B]): Iterable[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def fold[A1 >: (SnowflakeType[K], V)](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, (SnowflakeType[K], V)) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: ((SnowflakeType[K], V), B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: ((SnowflakeType[K], V)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- final def foreach[U](f: ((Key, V)) => U): Unit
- Definition Classes
- SnowflakeMap → IterableOnceOps
- final def foreachEntry[U](f: (Key, V) => U): Unit
- Definition Classes
- SnowflakeMap → MapOps
- final def foreachKey(f: (Key) => Unit): Unit
Loop over the keys of the map.
Loop over the keys of the map. The same as keys.foreach(f), but may be more efficient.
- f
The loop body
- final def foreachValue(f: (V) => Unit): Unit
Loop over the values of the map.
Loop over the values of the map. The same as values.foreach(f), but may be more efficient.
- f
The loop body
- def fromSpecific(coll: IterableOnce[(SnowflakeType[K], V)]): SnowflakeMap[K, V]
- Attributes
- protected
- Definition Classes
- SnowflakeMap → MapFactoryDefaults → IterableFactoryDefaults → IterableOps
- final def get(key: Key): Option[V]
- Definition Classes
- SnowflakeMap → MapOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def getOrElse[V1 >: V](key: Key, default: => V1): V1
- Definition Classes
- SnowflakeMap → MapOps
- def groupBy[K](f: ((SnowflakeType[K], V)) => K): Map[K, SnowflakeMap[K, V]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: ((SnowflakeType[K], V)) => K)(f: ((SnowflakeType[K], V)) => B): Map[K, Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: ((SnowflakeType[K], V)) => K)(f: ((SnowflakeType[K], V)) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[SnowflakeMap[K, V]]
- Definition Classes
- IterableOps
- def hashCode(): Int
- Definition Classes
- Map → AnyRef → Any
- def head: (SnowflakeType[K], V)
- Definition Classes
- IterableOps
- def headOption: Option[(SnowflakeType[K], V)]
- Definition Classes
- IterableOps
- def init: SnowflakeMap[K, V]
- Definition Classes
- IterableOps
- def inits: Iterator[SnowflakeMap[K, V]]
- Definition Classes
- IterableOps
- def intersection[R](that: SnowflakeMap[K, R]): SnowflakeMap[K, V]
Left biased intersection.
Left biased intersection. Returns the map that has all the same mappings as this but only for keys which are present in the other map.
- R
The type of values in
that
.- that
The map to intersect with.
- returns
A map with all the keys both in
this
andthat
, mapped to corresponding values fromthis
.
- def intersectionWith[S, R](that: SnowflakeMap[Key, S], f: (Key, V, S) => R): SnowflakeMap[K, R]
Forms the intersection of these two maps with a combining function.
Forms the intersection of these two maps with a combining function. The resulting map is a map that has only keys present in both maps and has values produced from the original mappings by combining them with
f
.- S
The type of values in
that
.- R
The type of values in the resulting
SnowflakeMap
.- that
The map to intersect with.
- f
The combining function.
- returns
Intersection of
this
andthat
, with values for identical keys produced by functionf
.
- def isDefinedAt(key: SnowflakeType[K]): Boolean
- Definition Classes
- MapOps → PartialFunction
- def isEmpty: Boolean
- Definition Classes
- SnowflakeMap → IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: IterableFactory[Iterable]
- Definition Classes
- Iterable → Iterable → IterableOps
- def iterator: Iterator[(Key, V)]
- Definition Classes
- SnowflakeMap → IterableOnce
- def keySet: Set[SnowflakeType[K]]
- Definition Classes
- MapOps → MapOps
- def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[SnowflakeType[K], S]): S
- Definition Classes
- MapOps
- def keys: Iterable[SnowflakeType[K]]
- Definition Classes
- MapOps
- def keysIterator: Iterator[Key]
- Definition Classes
- SnowflakeMap → MapOps
- def knownSize: Int
- Definition Classes
- SnowflakeMap → IterableOnce
- def last: (SnowflakeType[K], V)
- Definition Classes
- IterableOps
- final def lastKey: Key
- def lastOption: Option[(SnowflakeType[K], V)]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[(SnowflakeType[K], V), B, SnowflakeMap.this.type]
- Definition Classes
- Iterable
- def lift: (SnowflakeType[K]) => Option[V]
- Definition Classes
- PartialFunction
- def map[K2, V2](f: ((Key, V)) => (SnowflakeType[K2], V2)): SnowflakeMap[K2, V2]
- def map[K2, V2](f: ((SnowflakeType[K], V)) => (K2, V2)): Map[K2, V2]
- Definition Classes
- StrictOptimizedMapOps → MapOps
- def map[B](f: ((SnowflakeType[K], V)) => B): Iterable[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def mapFactory: MapFactory[Map]
- Definition Classes
- Map → Map → MapOps
- final def mapFromIterable[K2, V2](it: Iterable[(K2, V2)]): Map[K2, V2]
- Attributes
- protected
- Definition Classes
- MapOps
- Annotations
- @inline()
- def max[B >: (SnowflakeType[K], V)](implicit ord: Ordering[B]): (SnowflakeType[K], V)
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: ((SnowflakeType[K], V)) => B)(implicit cmp: Ordering[B]): (SnowflakeType[K], V)
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: ((SnowflakeType[K], V)) => B)(implicit cmp: Ordering[B]): Option[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: (SnowflakeType[K], V)](implicit ord: Ordering[B]): Option[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- def min[B >: (SnowflakeType[K], V)](implicit ord: Ordering[B]): (SnowflakeType[K], V)
- Definition Classes
- IterableOnceOps
- def minBy[B](f: ((SnowflakeType[K], V)) => B)(implicit cmp: Ordering[B]): (SnowflakeType[K], V)
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: ((SnowflakeType[K], V)) => B)(implicit cmp: Ordering[B]): Option[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- def minOption[B >: (SnowflakeType[K], V)](implicit ord: Ordering[B]): Option[(SnowflakeType[K], V)]
- 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
- def modifyOrRemove[S](f: (Key, V) => Option[S]): SnowflakeMap[K, S]
A combined transform and filter function.
A combined transform and filter function. Returns an
SnowflakeMap
such that for each(key, value)
mapping in this map, iff(key, value) == None
the map contains no mapping for key, and iff(key, value)
.- S
The type of the values in the resulting
SnowflakeMap
.- f
The transforming function.
- returns
The modified map.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[(SnowflakeType[K], V), SnowflakeMap[K, V]]
- Attributes
- protected
- Definition Classes
- SnowflakeMap → MapFactoryDefaults → IterableFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def orElse[A1 <: SnowflakeType[K], B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
- def partition(p: ((SnowflakeType[K], V)) => Boolean): (SnowflakeMap[K, V], SnowflakeMap[K, V])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def partitionMap[A1, A2](f: ((SnowflakeType[K], V)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def product[B >: (SnowflakeType[K], V)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def reduce[B >: (SnowflakeType[K], V)](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: (SnowflakeType[K], V)](op: (B, (SnowflakeType[K], V)) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: (SnowflakeType[K], V)](op: (B, (SnowflakeType[K], V)) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: (SnowflakeType[K], V)](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: (SnowflakeType[K], V)](op: ((SnowflakeType[K], V), B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: (SnowflakeType[K], V)](op: ((SnowflakeType[K], V), B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def removed(key: Key): SnowflakeMap[K, V]
- Definition Classes
- SnowflakeMap → MapOps
- def removedAll(keys: IterableOnce[SnowflakeType[K]]): SnowflakeMap[K, V]
- Definition Classes
- MapOps
- def reversed: Iterable[(SnowflakeType[K], V)]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def runWith[U](action: (V) => U): (SnowflakeType[K]) => Boolean
- Definition Classes
- PartialFunction
- def scan[B >: (SnowflakeType[K], V)](z: B)(op: (B, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, (SnowflakeType[K], V)) => B): Iterable[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: ((SnowflakeType[K], V), B) => B): Iterable[B]
- Definition Classes
- IterableOps
- final def size: Int
- Definition Classes
- SnowflakeMap → IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): SnowflakeMap[K, V]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[SnowflakeMap[K, V]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[SnowflakeMap[K, V]]
- Definition Classes
- IterableOps
- def span(p: ((SnowflakeType[K], V)) => Boolean): (SnowflakeMap[K, V], SnowflakeMap[K, V])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def splitAt(n: Int): (SnowflakeMap[K, V], SnowflakeMap[K, V])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[(SnowflakeType[K], V), S]): S
- Definition Classes
- IterableOnce
- final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[(SnowflakeType[K], V), B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedConcat[B >: (SnowflakeType[K], V), C2](that: IterableOnce[B], b: Builder[B, C2]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: ((SnowflakeType[K], V)) => IterableOnce[B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: ((SnowflakeType[K], V)) => IterableOnce[B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: ((SnowflakeType[K], V)) => B): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[((SnowflakeType[K], V), B), C2]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Map → Iterable
- def sum[B >: (SnowflakeType[K], V)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: SnowflakeMap[K, V]
- Definition Classes
- IterableOps
- def tails: Iterator[SnowflakeMap[K, V]]
- Definition Classes
- IterableOps
- def take(n: Int): SnowflakeMap[K, V]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): SnowflakeMap[K, V]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def takeWhile(p: ((SnowflakeType[K], V)) => Boolean): SnowflakeMap[K, V]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: ((SnowflakeType[K], V)) => U): SnowflakeMap[K, V]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def to[C1](factory: Factory[(SnowflakeType[K], V), C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: (SnowflakeType[K], V)](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: (SnowflakeType[K], V)]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- def toList: List[(Key, V)]
- Definition Classes
- SnowflakeMap → IterableOnceOps
- final def toMap[K2, V2](implicit ev: <:<[(SnowflakeType[K], V), (K2, V2)]): Map[K2, V2]
- Definition Classes
- Map → IterableOnceOps
- def toSeq: Seq[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- def toSet[B >: (SnowflakeType[K], V)]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- Map → Function1 → Iterable → AnyRef → Any
- def toVector: Vector[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- def transform[S](f: (Key, V) => S): SnowflakeMap[K, S]
- Definition Classes
- SnowflakeMap → MapOps
- def transpose[B](implicit asIterable: ((SnowflakeType[K], V)) => Iterable[B]): Iterable[Iterable[B]]
- Definition Classes
- IterableOps
- def unapply(a: SnowflakeType[K]): Option[V]
- Definition Classes
- PartialFunction
- def unionWith[S >: V](that: SnowflakeMap[Key, S], f: (Key, S, S) => S): SnowflakeMap[K, S]
Forms a union map with that map, using the combining function to resolve conflicts.
Forms a union map with that map, using the combining function to resolve conflicts.
- S
The type of values in
that
, a supertype of values inthis
.- that
The map to form a union with.
- f
The function used to resolve conflicts between two mappings.
- returns
Union of
this
andthat
, with identical key conflicts resolved using the functionf
.
- def unzip[A1, A2](implicit asPair: ((SnowflakeType[K], V)) => (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: ((SnowflakeType[K], V)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def updateWith[S >: V](key: Key, value: S, f: (V, S) => S): SnowflakeMap[K, S]
Updates the map, using the provided function to resolve conflicts if the key is already present.
Updates the map, using the provided function to resolve conflicts if the key is already present.
Equivalent to
this.get(key) match { case None => this.update(key, value) case Some(oldvalue) => this.update(key, f(oldvalue, value) }
- S
The supertype of values in this
SnowflakeMap
.- key
The key to update.
- value
The value to use if there is no conflict.
- f
The function used to resolve conflicts.
- returns
The updated map.
- def updated[V1 >: V](key: Key, value: V1): SnowflakeMap[K, V1]
- Definition Classes
- SnowflakeMap → MapOps
- def updatedWith[V1 >: V](key: SnowflakeType[K])(remappingFunction: (Option[V]) => Option[V1]): Map[SnowflakeType[K], V1]
- Definition Classes
- MapOps
- def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[V, S]): S
- Definition Classes
- MapOps
- def values: Iterable[V]
- Definition Classes
- MapOps
- def valuesIterator: Iterator[V]
- Definition Classes
- SnowflakeMap → MapOps
- def view: MapView[SnowflakeType[K], V]
- Definition Classes
- MapOps → 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 withDefault[V1 >: V](d: (SnowflakeType[K]) => V1): Map[SnowflakeType[K], V1]
- Definition Classes
- Map
- def withDefaultValue[V1 >: V](d: V1): Map[SnowflakeType[K], V1]
- Definition Classes
- Map
- def withFilter(p: ((SnowflakeType[K], V)) => Boolean): WithFilter[SnowflakeType[K], V, [x]Iterable[x], [x, y]Map[x, y]]
- Definition Classes
- MapFactoryDefaults → IterableOps
- def writeReplace(): AnyRef
- Attributes
- protected[this]
- def zip[B](that: IterableOnce[B]): Iterable[((SnowflakeType[K], V), B)]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def zipAll[A1 >: (SnowflakeType[K], V), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: Iterable[((SnowflakeType[K], V), Int)]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
Deprecated Value Members
- def +[V1 >: V](elem1: (SnowflakeType[K], V1), elem2: (SnowflakeType[K], V1), elems: (SnowflakeType[K], V1)*): Map[SnowflakeType[K], V1]
- Definition Classes
- StrictOptimizedMapOps → MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs
- def ++:[V1 >: V](that: IterableOnce[(SnowflakeType[K], V1)]): Map[SnowflakeType[K], V1]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- def ++:[B >: (SnowflakeType[K], V)](that: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- def -(key1: SnowflakeType[K], key2: SnowflakeType[K], keys: SnowflakeType[K]*): SnowflakeMap[K, V]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use -- with an explicit collection
- final def /:[B](z: B)(op: (B, (SnowflakeType[K], V)) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- final def :\[B](z: B)(op: ((SnowflakeType[K], V), 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, (SnowflakeType[K], V)) => 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 companion: IterableFactory[[_]Iterable[_]]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- final def copyToBuffer[B >: (SnowflakeType[K], V)](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def filterKeys(p: (SnowflakeType[K]) => Boolean): MapView[SnowflakeType[K], V]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- 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 mapValues[W](f: (V) => W): MapView[SnowflakeType[K], W]
- Definition Classes
- MapOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).
- final def repr: SnowflakeMap[K, V]
- 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
- def seq: SnowflakeMap.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- final def toIterable: SnowflakeMap.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
- final def toIterator: Iterator[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: Stream[(SnowflakeType[K], V)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[(SnowflakeType[K], V)]
- 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 view(from: Int, until: Int): View[(SnowflakeType[K], V)]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)