|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.util.Gensym
public class Gensym
Name and ID generator a la gensym.
Relevant parameters:
Parameters
Nested Class Summary | |
---|---|
static class |
Gensym.Generator
A name and ID generator. |
Method Summary | |
---|---|
static Gensym.Generator |
getDefaultGenerator()
|
static void |
main(java.lang.String[] argv)
For testing. |
static Name |
nextName(java.lang.String base)
Calls the default generator's method Gensym.Generator.nextName(String) . |
static Symbol |
nextNewSymbol(java.lang.String base)
Calls the default generator's method Gensym.Generator.nextNewSymbol(String) . |
static java.lang.String |
nextString(java.lang.String base)
Calls the default generator's method Gensym.Generator.nextString(String) . |
static Symbol |
nextSymbol(java.lang.String base)
Calls the default generator's method Gensym.Generator.nextSymbol(String) . |
static void |
setDefaultGenerator(Gensym.Generator g)
|
static void |
useUniquePrefix()
Calls the default generator's method Gensym.Generator.useUniquePrefix() . |
static boolean |
usingUniquePrefix()
Calls the default generator's method Gensym.Generator.usingUniquePrefix() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Gensym.Generator getDefaultGenerator()
public static void setDefaultGenerator(Gensym.Generator g)
public static void useUniquePrefix()
Gensym.Generator.useUniquePrefix()
.
public static boolean usingUniquePrefix()
Gensym.Generator.usingUniquePrefix()
.
public static java.lang.String nextString(java.lang.String base)
Gensym.Generator.nextString(String)
.
public static Name nextName(java.lang.String base)
Gensym.Generator.nextName(String)
.
public static Symbol nextSymbol(java.lang.String base)
Gensym.Generator.nextSymbol(String)
.
public static Symbol nextNewSymbol(java.lang.String base)
Gensym.Generator.nextNewSymbol(String)
.
Remember that the base string might be one that results in an
instance of a subclass of Symbol such as Keyword
or ItemVar
.
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |