com.phasmidsoftware.matchers.~
case class ~[
+L,
+R](
l:
L,
r:
R)
The tilde class which is basically a Tuple (i.e., Product) with a few extra methods.
Type parameters
- L
-
the left type.
- R
-
the right type.
Value parameters
- l
-
the left value.
- r
-
the right value.
Attributes
- Graph
-
- Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Convert to tuple form.
NOTE: unused.
Attributes
- Returns
-
a (L, R).
Reverse the order of this ~.
Reverse the order of this ~.
Attributes
- Returns
-
~(r, l)
Returns a string representation of this instance.
Returns a string representation of this instance.
Attributes
- Returns
-
the string representation combining the left and right values with a tilde (~) in between.
- Definition Classes
-
Any
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
-
Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an Iterator[Any]
- Inherited from:
-
Product