Implicit to support Containing
nature of java.util.Collection
.
Implicit to support Containing
nature of java.util.Collection
.
the type of the element in the java.util.Collection
any subtype of java.util.Collection
Equality
type class that is used to check equality of element in the java.util.Collection
Containing[JCOL[E]]
that supports java.util.Collection
in relevant contain
syntax
Implicit to support Containing
nature of java.util.Map
.
Implicit to support Containing
nature of java.util.Map
.
the type of the key in the java.util.Map
the type of the value in the java.util.Map
any subtype of java.util.Map
Equality
type class that is used to check equality of entry in the java.util.Map
Containing[JMAP[K, V]]
that supports java.util.Map
in relevant contain
syntax
Implicit conversion that converts an Equality
of type E
into Containing
of type JCOL[E]
, where JCOL
is a subtype of java.util.Collection
.
Implicit conversion that converts an Equality
of type E
into Containing
of type JCOL[E]
, where JCOL
is a subtype of java.util.Collection
.
This is required to support the explicit Equality
syntax, for example:
val javaList = new java.util.ArrayList[String]() javaList.add("hi") (javaList should contain oneOf ("HI")) (after being lowerCased)
(after being lowerCased)
will returns an Equality[String]
and this implicit conversion will convert it into Containing[java.util.ArrayList[String]]
.
type of elements in the java.util.Collection
subtype of java.util.Collection
Equality
of type E
Containing
of type JCOL[E]
Implicit conversion that converts an Equality
of type java.util.Map.Entry[K, V]
into Containing
of type JMAP[K, V]
, where JMAP
is a subtype of java.util.Map
.
Implicit conversion that converts an Equality
of type java.util.Map.Entry[K, V]
into Containing
of type JMAP[K, V]
, where JMAP
is a subtype of java.util.Map
.
This is required to support the explicit Equality
syntax, for example:
val javaMap = new java.util.HashMap[Int, String]() javaMap.put(1, "one") // lowerCased needs to be implemented as Normalization[java.util.Map.Entry[K, V]] (javaMap should contain (Entry(1, "ONE"))) (after being lowerCased)
(after being lowerCased)
will returns an java.util.Map.Entry[Int, String]
and this implicit conversion will convert it into Containing[java.util.HashMap[Int, String]]
.
the type of the key in the java.util.Map
the type of the value in the java.util.Map
any subtype of java.util.Map
Equality
of type java.util.Map.Entry[K, V]
Containing
of type JMAP[K, V]