ObjectMatcher

com.softwaremill.diffx.ObjectMatcher$
See theObjectMatcher companion trait

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class MapEntry[K, V](key: K, value: V)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case class SetEntry[T](t: T)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Types

type SeqEntry[T] = MapEntry[Int, T]

Value members

Concrete methods

def map[K, V]: ObjectMatcherMapHelper[K, V]

Matcher for map like collections e.g. Map. There has to exist an implicit instance of com.softwaremill.diffx.MapLike for such collection

Matcher for map like collections e.g. Map. There has to exist an implicit instance of com.softwaremill.diffx.MapLike for such collection

Attributes

K

type of the key

V

type of the value

Matcher for all ordered collections e.g. List, Seq. There has to exist an implicit instance of com.softwaremill.diffx.SeqLike for such collection

Matcher for all ordered collections e.g. List, Seq. There has to exist an implicit instance of com.softwaremill.diffx.SeqLike for such collection

Attributes

T

type of the element

Matcher for unordered collections like e.g. Set. There has to exist an implicit instance of com.softwaremill.diffx.SetLike for such collection

Matcher for unordered collections like e.g. Set. There has to exist an implicit instance of com.softwaremill.diffx.SetLike for such collection

Attributes

T

type of the element

Implicits

Implicits

implicit def mapEntryByKey[K : ObjectMatcher, V]: ObjectMatcher[MapEntry[K, V]]

Given MapEntry[K,V], match them using K's objectMatcher

Given MapEntry[K,V], match them using K's objectMatcher

Attributes

Inherited implicits

implicit def default[T]: ObjectMatcher[T]

Attributes

Inherited from:
LowPriorityObjectMatcher