Scala Library
|
|
scala/Symbol.scala
]
object
Symbol
extends
AnyRefMethod Summary | |
def
|
apply (name : java.lang.String) : Symbol |
def
|
unapply (other : Symbol) : Option[java.lang.String] |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
apply(name : java.lang.String) : Symbol
Makes this symbol into a unique reference.
If two interened symbols are equal (i.e. they have the same name) then they must be identical (wrt reference equality).
def
unapply(other : Symbol) : Option[java.lang.String]
Scala Library
|
|