Trait

org.scalatest.enablers

JavaContainingImplicits

Related Doc: package enablers

Permalink

trait JavaContainingImplicits extends ContainingImpls

Linear Supertypes
ContainingImpls, AnyRef, Any
Known Subclasses
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. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. implicit def containingNatureOfJavaCollection[E, JCOL[e] <: Collection[e]](implicit equality: Equality[E]): Containing[JCOL[E]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ContainingImpls

Inherited from AnyRef

Inherited from Any

Ungrouped