Symbol

final class Symbol extends Serializable

This class provides a simple way to get unique objects for equal strings. Since symbols are interned, they can be compared using reference equality.

Companion:
object
Source:
Symbol.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

override def equals(other: Any): Boolean
Definition Classes
Source:
Symbol.scala
override def hashCode: Int
Definition Classes
Source:
Symbol.scala
override def toString(): String

A string representation of this symbol.

A string representation of this symbol.

Definition Classes
Source:
Symbol.scala

Concrete fields