Returns string formatted according to given format
string.
Returns string formatted according to given format
string.
Format strings are as for String.format
(@see java.lang.String.format).
Converts this symbol to a string.
Converts this symbol to a string.
This class provides a simple way to get unique objects for equal strings. Since symbols are interned, they can be compared using reference equality. Instances of
Symbol
can be created easily with Scala's built-in quote mechanism.For instance, the Scala term
'mysym
will invoke the constructor of theSymbol
class in the following way:Symbol("mysym")
.1.8