Implicit to support Containing
nature of Array
.
Implicit to support Containing
nature of Array
.
the type of the element in the Array
Equality
type class that is used to check equality of element in the Array
Containing[Array[E]]
that supports Array
in relevant contain
syntax
Implicit to support Containing
nature of Every
.
Implicit to support Containing
nature of Every
.
the type of the element in the Every
Equality
type class that is used to check equality of element in the Every
Containing[Every[E]]
that supports Every
in relevant contain
syntax
Implicit to support Containing
nature of GenTraversable
.
Implicit to support Containing
nature of GenTraversable
.
the type of the element in the GenTraversable
any subtype of GenTraversable
Equality
type class that is used to check equality of element in the GenTraversable
Containing[TRAV[E]]
that supports GenTraversable
in relevant contain
syntax
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 to support Containing
nature of scala.Option
.
Implicit to support Containing
nature of scala.Option
.
the type of the element in the scala.Option
any subtype of scala.Option
Equality
type class that is used to check equality of element in the Option
Containing[OPT[E]]
that supports scala.Option
in relevant contain
syntax
Implicit to support Containing
nature of String
.
Implicit to support Containing
nature of String
.
Equality
type class that is used to check equality of Char
in the String
Containing[String]
that supports String
in relevant contain
syntax
Implicit conversion that converts an Equality
of type E
into Containing
of type Array[E]
.
Implicit conversion that converts an Equality
of type E
into Containing
of type Array[E]
.
This is required to support the explicit Equality
syntax, for example:
(Array("hi") should contain oneOf ("HI")) (after being lowerCased)
(after being lowerCased)
will returns an Equality[String]
and this implicit conversion will convert it into Containing[Array[String]]
.
type of elements in the Array
Equality
of type E
Containing
of type Array[E]
Implicit conversion that converts an Equality
of type E
into Containing
of type Every[E]
.
Implicit conversion that converts an Equality
of type E
into Containing
of type Every[E]
.
This is required to support the explicit Equality
syntax, for example:
(Every("hi", "he", "ho") should contain oneOf ("HI")) (after being lowerCased)
(after being lowerCased)
will returns an Equality[String]
and this implicit conversion will convert it into Containing[Every[String]]
.
type of elements in the Every
Equality
of type E
Containing
of type Every[E]
Implicit conversion that converts an Equality
of type E
into Containing
of type TRAV[E]
, where TRAV
is a subtype of GenTraversable
.
Implicit conversion that converts an Equality
of type E
into Containing
of type TRAV[E]
, where TRAV
is a subtype of GenTraversable
.
This is required to support the explicit Equality
syntax, for example:
(List("hi") should contain oneOf ("HI")) (after being lowerCased)
(after being lowerCased)
will returns an Equality[String]
and this implicit conversion will convert it into Containing[List[String]]
.
type of elements in the GenTraversable
subtype of GenTraversable
Equality
of type E
Containing
of type TRAV[E]
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]
Implicit conversion that converts an Equality
of type E
into Containing
of type OPT[E]
, where OPT
is a subtype of scala.Option
.
Implicit conversion that converts an Equality
of type E
into Containing
of type OPT[E]
, where OPT
is a subtype of scala.Option
.
This is required to support the explicit Equality
syntax, for example:
(Some("hi") should contain oneOf ("HI")) (after being lowerCased)
(after being lowerCased)
will returns an Equality[String]
and this implicit conversion will convert it into Containing[Some[String]]
.
type of elements in the scala.Option
subtype of scala.Option
Equality
of type E
Containing
of type OPT[E]
Implicit conversion that converts an Equality
of type Char
into Containing
of type String
.
Implicit conversion that converts an Equality
of type Char
into Containing
of type String
.
This is required to support the explicit Equality
syntax, for example:
// lowerCased needs to be implemented as Normalization[Char] ("hi hello" should contain oneOf ('E')) (after being lowerCased)
(after being lowerCased)
will returns an Equality[Char]
and this implicit conversion will convert it into Containing[String]
.
Equality
of type Char
Containing
of type String
Companion object for
Containing
that provides implicit implementations for the following types:scala.collection.GenTraversable
String
Array
scala.Option
java.util.Collection
java.util.Map