|
GNU Prolog for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgnu.prolog.term.Term
gnu.prolog.term.AtomicTerm
gnu.prolog.term.AtomTerm
public class AtomTerm
Atom term. The object of this class represent prolog atom.
| Field Summary | |
|---|---|
String |
value
value of atom |
| Fields inherited from class gnu.prolog.term.Term |
|---|
ATOM, COMPOUND, FLOAT, INTEGER, JAVA_OBJECT, UNKNOWN, VARIABLE |
| Constructor Summary | |
|---|---|
protected |
AtomTerm(String value)
a constructor. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static AtomTerm |
get(char ch)
get atom term |
static AtomTerm |
get(String s)
get atom term |
int |
getTermType()
get type of term |
int |
hashCode()
|
Object |
readResolve()
Return an object to replace the object extracted from the stream. |
| Methods inherited from class gnu.prolog.term.AtomicTerm |
|---|
clone, clone |
| Methods inherited from class gnu.prolog.term.Term |
|---|
dereference, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String value
| Constructor Detail |
|---|
protected AtomTerm(String value)
value - value of atom| Method Detail |
|---|
public static AtomTerm get(String s)
s - string representation of atom.
public static final AtomTerm get(char ch)
ch - string representation of atom.
public Object readResolve()
Resolvablepublic int getTermType()
getTermType in class Termpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
GNU Prolog for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||