Packages

c

lucuma.core.syntax

TreeMapOps

final class TreeMapOps[A, B] extends AnyVal

Source
TreeMap.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeMapOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TreeMapOps(self: TreeMap[A, B])

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 getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def mergeAll[C, D](that: Map[A, C])(f: (Ior[B, C]) => D)(implicit ev: Ordering[A]): TreeMap[A, D]

    Merges two maps together according to the supplied function.

    Merges two maps together according to the supplied function. The function takes an Ior with the value from this map and/or the value from that map for each key present in either map.

    that

    the map to merge with this one

    f

    function that combines the values

  8. def mergeMatchingKeys[C, D](that: Map[A, C])(f: (B, Option[C]) => D)(implicit ev: Ordering[A]): TreeMap[A, D]

    Combines this map with the values of matching keys from that map using supplied function.

    Combines this map with the values of matching keys from that map using supplied function. Keys that only exist in that are ignored, but the value of keys that exist in this map but not in that map are passed to the function as None.

    that

    the map to combine with this one

    f

    function that combines the values

  9. val self: TreeMap[A, B]
  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped