trait MapDecorator[K, V] extends AnyRef
- Alphabetic
- By Inheritance
- MapDecorator
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract val this: Map[K, V]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from MapDecorator[K, V] to any2stringadd[MapDecorator[K, V]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (MapDecorator[K, V], B)
- Implicit
- This member is added by an implicit conversion from MapDecorator[K, V] to ArrowAssoc[MapDecorator[K, V]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (MapDecorator[K, V]) ⇒ Boolean, msg: ⇒ Any): MapDecorator[K, V]
- Implicit
- This member is added by an implicit conversion from MapDecorator[K, V] to Ensuring[MapDecorator[K, V]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (MapDecorator[K, V]) ⇒ Boolean): MapDecorator[K, V]
- Implicit
- This member is added by an implicit conversion from MapDecorator[K, V] to Ensuring[MapDecorator[K, V]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): MapDecorator[K, V]
- Implicit
- This member is added by an implicit conversion from MapDecorator[K, V] to Ensuring[MapDecorator[K, V]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): MapDecorator[K, V]
- Implicit
- This member is added by an implicit conversion from MapDecorator[K, V] to Ensuring[MapDecorator[K, V]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from MapDecorator[K, V] to StringFormat[MapDecorator[K, V]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
fullOuterJoin[W, C](that: Map[K, W])(implicit bf: BuildFrom[this.type, (K, (Option[V], Option[W])), C]): C
Alias for
mergeByKeyAlias for
mergeByKey- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
join[W, C](that: Map[K, W])(implicit bf: BuildFrom[this.type, (K, (V, W)), C]): C
Alias for
zipByKeyAlias for
zipByKey- Annotations
- @inline()
-
def
leftOuterJoin[W, C](that: Map[K, W])(implicit bf: BuildFrom[this.type, (K, (V, Option[W])), C]): C
Perform a left outer join of
thisandthat.Perform a left outer join of
thisandthat.Equivalent to
mergeByKeyWith(that) { case (Some(v), maybeW) => (v, maybeW) }.- W
Type of values of
that- C
Type of the resulting collection
- bf
Builder for the resulting collection
- returns
A Map that associates all the keys
kofthisto pairs(v, Some(w))ifthatassociatesktow, or(v, None)ifthatdoesn’t containk
-
final
def
mergeByKey[W, C](that: Map[K, W])(implicit bf: BuildFrom[this.type, (K, (Option[V], Option[W])), C]): C
Perform a full outer join of
thisandthat.Perform a full outer join of
thisandthat.Equivalent to
mergeByKeyWith(that) { case any => any }.- W
Type of values of
that(e.g.String)- C
Type of the resulting collection (e.g.
Map[Int, (Option[Boolean], Option[String])])- bf
Builder for the resulting collection
- returns
A Map that associates all the keys
kofthisorthatto pairs(Some(v), Some(w))ifthisassociatesktovandthatassociatesktow, or pairs(None, Some(w))ifthisdoesn’t containk, or pairs(Some(v), None)ifthatdoesn’t containk
- Annotations
- @inline()
-
def
mergeByKeyWith[W, X, C](that: Map[K, W])(f: PartialFunction[(Option[V], Option[W]), X])(implicit bf: BuildFrom[this.type, (K, X), C]): C
- W
Type of values of the other Map (e.g.
Int,String)- X
Type of values of the resulting Map
- C
Type of the result (e.g.
Map[Int, (String, Option[Boolean])])- that
Map to merge
- f
Combination function
- bf
Builder driven by the type of
thisMap- returns
A Map associating all the keys from
thisandthatwith values returned by the partial functionf, when this one is defined.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
rightOuterJoin[W, C](that: Map[K, W])(implicit bf: BuildFrom[this.type, (K, (Option[V], W)), C]): C
Perform a right outer join of
thisandthat.Perform a right outer join of
thisandthat.Equivalent to
mergeByKeyWith(that) { case (maybeV, Some(w)) => (maybeV, w) }.- W
Type of values of
that(e.g.String)- C
Type of the resulting collection (e.g.
Map[Int, (Option[Boolean], String)])- bf
Builder for the resulting collection
- returns
A Map that associates all the keys
kofthatto pairs(Some(v), w)ifthisassociatesktov, or(None, w)ifthisdoesn’t containk
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... )
-
def
zipByKey[W, C](that: Map[K, W])(implicit bf: BuildFrom[this.type, (K, (V, W)), C]): C
Combines the entries of
thisMap with the entries ofthatMap that have the same key, tupling their values.Combines the entries of
thisMap with the entries ofthatMap that have the same key, tupling their values.xs.zipByKey(ys)is a shorthand forxs.zipByKeyWith(ys)((_, _)).- W
Type of values of the other Map (e.g.
Int,String)- C
Type of the result (e.g.
Map[Int, (String, Boolean)],TreeMap[String, (Int, Int)])- that
Other Map
- bf
Builder driven by the type of
thisMap- returns
A Map that associates all the keys
kcontained by boththisandthatto pairs(v, w)wherevis the value associated bythistokandwthe value associated bythattok
-
def
zipByKeyWith[W, X, C](that: Map[K, W])(f: (V, W) ⇒ X)(implicit bf: BuildFrom[this.type, (K, X), C]): C
Combines entries of
thisMap with entries ofthatMap that have the same key, using the combination functionfCombines entries of
thisMap with entries ofthatMap that have the same key, using the combination functionf- W
Type of values of the other Map (e.g.
Int,String)- X
Type of values of the resulting Map
- C
Type of the resulting Map
- that
Other Map
- f
Combination function
- bf
Builder driven by the type of
thisMap- returns
A Map that associates all the keys
kcontained by boththisandthatto the result of the application offto the valuesvandwrespectively associated bythisandthattok
-
def
→[B](y: B): (MapDecorator[K, V], B)
- Implicit
- This member is added by an implicit conversion from MapDecorator[K, V] to ArrowAssoc[MapDecorator[K, V]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc