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 Java Map for which
an implicit Collecting[org.scalatest.Entry, java.util.Map] is available.
Wrapper class that adds a loneElement method to String 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.
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
a typeclass that enables the loneElement syntax
Companion object that facilitates the importing of
LoneElementmembers as an alternative to mixing it in. One use case is to importLoneElement's members so you can useloneElementin the Scala interpreter.