Wrapper class that adds a loneElement
method to any collection type C
for which
an implicit Collecting[C]
is available.
Wrapper class that adds a loneElement
method to any collection type C
for which
an implicit Collecting[C]
is available.
Through the implicit conversion provided by trait LoneElement
, this class allows you to make statements like:
trav.loneElement should be > 9
the element type of the collection on which to add the loneElement
method
the "collection type constructor" for the collection on which to add the loneElement
method
Wrapper class that adds a loneElement
method to Java Map for which
an implicit Collecting[org.scalatest.Entry, java.util.Map]
is available.
Wrapper class that adds a loneElement
method to Java Map for which
an implicit Collecting[org.scalatest.Entry, java.util.Map]
is available.
Through the implicit conversion provided by trait LoneElement
, this class allows you to make statements like:
jmap.loneElement.getKey should be > 9
the element type of the Java Map key on which to add the loneElement
method
the element type of the Java Map value on which to add the loneElement
method
the "Java Map type constructor" for the collection on which to add the loneElement
method
Wrapper class that adds a loneElement
method to String
for which an
implicit Collecting[C]
is available.
Wrapper class that adds a loneElement
method to String
for which an
implicit Collecting[C]
is available.
Through the implicit conversion provided by trait LoneElement
, this class allows you to make statements like:
"9".loneElement should be ('9')
Implicit conversion that adds a loneElement
method to any collection type C
for which an
implicit Collecting[C]
is available.
Implicit conversion that adds a loneElement
method to any collection type C
for which an
implicit Collecting[C]
is available.
the element type of the collection on which to add the loneElement
method
the "collection type constructor" for the collection on which to add the loneElement
method
the collection on which to add the loneElement
method
a typeclass that enables the loneElement
syntax
Implicit conversion that adds a loneElement
method to String for which an
implicit Collecting[C]
is available.
Implicit conversion that adds a loneElement
method to String for which an
implicit Collecting[C]
is available.
the String
to wrap
Companion object that facilitates the importing of
LoneElement
members as an alternative to mixing it in. One use case is to importLoneElement
's members so you can useloneElement
in the Scala interpreter.