All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.scalanative.interflow.package.scala Maven / Gradle / Ivy

There is a newer version: 0.5.5
Show newest version
package scala.scalanative

import scala.collection.mutable

package object interflow {

  private[interflow] type Addr = Long

  private[interflow] implicit class MutMapOps[K, V](val map: mutable.Map[K, V])
      extends AnyVal {
    def addMissing(other: Iterable[(K, V)]): Unit = other.foreach {
      case (key, value) => map.getOrElseUpdate(key, value)
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy