Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package twitter
    Definition Classes
    com
  • package conversions
    Definition Classes
    twitter
  • object MapOps

    Implicits for converting Maps.

    Implicits for converting Maps.

    Definition Classes
    conversions
    Example:
    1. import com.twitter.conversions.MapOps._
      
      Map(1 -> "a").mapKeys { _.toString }
      Map(1 -> "a").invert
      Map(1 -> "a", 2 -> "b").filterValues { _ == "b" }
      Map(2 -> "b", 1 -> "a").toSortedMap
  • RichMap

implicit final class RichMap[K, V] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichMap
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def filterNotKeys(func: (K) => Boolean): Map[K, V]
  6. def filterNotValues(func: (V) => Boolean): Map[K, V]
  7. def filterValues(func: (V) => Boolean): Map[K, V]
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. def invert: Map[V, Seq[K]]
  10. def invertSingleValue: Map[V, K]
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def mapKeys[T](func: (K) => T): Map[T, V]
  13. val self: Map[K, V]
  14. def toSortedMap(implicit ordering: Ordering[K]): SortedMap[K, V]
  15. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped