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

munit.internal.difflib.Equalizer.scala Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package munit.internal.difflib

trait Equalizer[T] {
  def equals(original: T, revised: T): Boolean
}
object Equalizer {
  def default[T]: Equalizer[T] = new Equalizer[T] {
    override def equals(original: T, revised: T): Boolean = {
      original.equals(revised)
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy