Class

com.github.scaruby.collection

RichMap

Related Doc: package collection

Permalink

implicit final class RichMap[K, V] extends AnyVal

Source
package.scala
Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichMap
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichMap(self: Map[K, V])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. def invert: Map[V, K]

    Permalink

    Return the new Map that swap key and value.

    Return the new Map that swap key and value. If the several key is bound to one value, the result is unknown

  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def keyOf(value: V): Option[K]

    Permalink

    Find a key which corresponds value and return the wrapped value or None.

    Find a key which corresponds value and return the wrapped value or None. If the number of key >= 1, It is unspecified that which key is selected.

  9. val self: Map[K, V]

    Permalink
  10. def toString(): String

    Permalink
    Definition Classes
    Any
  11. def valuesOf(keys: K*): Seq[V]

    Permalink

    Return a Seq consist of found values.

    Return a Seq consist of found values. Values ordering follows keys ordering.

Inherited from AnyVal

Inherited from Any

Ungrouped