Scala Library
|
|
object
FreshNameCreator
extends
AnyRefValue Summary | |
protected var
|
counter : Int |
protected val
|
counters : HashMap[java.lang.String, Int] |
Method Summary | |
def
|
newName : Symbol |
def
|
newName
(prefix : java.lang.String) : Symbol
Create a fresh name with the given prefix. It is guaranteed
that the returned name has never been returned by a previous
call to this function (provided the prefix does not end in a digit).
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
def
newName(prefix : java.lang.String) : Symbol
def
newName : Symbol
Scala Library
|
|