Packages

t

org.scalatest.enablers

JavaContainingImplicits

trait JavaContainingImplicits extends ContainingImpls

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaContainingImplicits
  2. ContainingImpls
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. implicit def containingNatureOfJavaCollection[E, JCOL[e] <: Collection[e]](implicit equality: Equality[E]): Containing[JCOL[E]]

    Implicit to support Containing nature of java.util.Collection.

    Implicit to support Containing nature of java.util.Collection.

    E

    the type of the element in the java.util.Collection

    JCOL

    any subtype of java.util.Collection

    equality

    Equality type class that is used to check equality of element in the java.util.Collection

    returns

    Containing[JCOL[E]] that supports java.util.Collection in relevant contain syntax

  7. implicit def containingNatureOfJavaMap[K, V, JMAP[k, v] <: Map[k, v]](implicit equality: Equality[java.util.Map.Entry[K, V]]): Containing[JMAP[K, V]]

    Implicit to support Containing nature of java.util.Map.

    Implicit to support Containing nature of java.util.Map.

    K

    the type of the key in the java.util.Map

    V

    the type of the value in the java.util.Map

    JMAP

    any subtype of java.util.Map

    equality

    Equality type class that is used to check equality of entry in the java.util.Map

    returns

    Containing[JMAP[K, V]] that supports java.util.Map in relevant contain syntax

  8. implicit def convertEqualityToJavaCollectionContaining[E, JCOL[e] <: Collection[e]](equality: Equality[E]): Containing[JCOL[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]].

    E

    type of elements in the java.util.Collection

    JCOL

    subtype of java.util.Collection

    equality

    Equality of type E

    returns

    Containing of type JCOL[E]

  9. implicit def convertEqualityToJavaMapContaining[K, V, JMAP[k, v] <: Map[k, v]](equality: Equality[java.util.Map.Entry[K, V]]): Containing[JMAP[K, V]]

    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]].

    K

    the type of the key in the java.util.Map

    V

    the type of the value in the java.util.Map

    JMAP

    any subtype of java.util.Map

    equality

    Equality of type java.util.Map.Entry[K, V]

    returns

    Containing of type JMAP[K, V]

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ContainingImpls

Inherited from AnyRef

Inherited from Any

Ungrouped