object Symbol

[source: scala/Symbol.scala]

object Symbol
extends AnyRef
Method 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).

the unique reference to this string.

def unapply(other : Symbol) : Option[java.lang.String]