|
Jatha Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jatha.dynatype.StandardLispValue org.jatha.dynatype.StandardLispAtom org.jatha.dynatype.StandardLispCharacter
public class StandardLispCharacter
Field Summary | |
---|---|
private char |
value
|
Fields inherited from class org.jatha.dynatype.StandardLispValue |
---|
f_lisp |
Constructor Summary | |
---|---|
StandardLispCharacter()
|
|
StandardLispCharacter(Jatha lisp)
|
|
StandardLispCharacter(Jatha lisp,
char theChar)
|
Method Summary | |
---|---|
boolean |
basic_constantp()
Returns Java true if the object is a constant. |
LispValue |
characterp()
Returns T if the object is a Character. |
LispValue |
constantp()
Returns T if the object is a constant. |
LispValue |
eql(LispValue val)
Returns T if the argument is EQ to the object or if the arguments and object are numbers with equal values. |
LispValue |
equal(LispValue val)
Returns T if the argument is EQL or if two strings are STRING= or if two trees have EQUAL subtrees. |
char |
getCharacterValue()
|
(package private) char |
getValue()
|
void |
internal_prin1(PrintStream os)
|
void |
internal_princ(PrintStream os)
|
void |
internal_print(PrintStream os)
|
LispValue |
string()
Converts a String, Symbol or Character to a string. |
Object |
toJava()
Returns a Java Character containing this object. |
String |
toString()
toString() returns a printed representation
of the form (as printed by (prin1) ) in
a Java string. |
LispValue |
type_of()
|
LispValue |
typep(LispValue type)
|
Methods inherited from class org.jatha.dynatype.StandardLispAtom |
---|
atom, basic_atom |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private char value
Constructor Detail |
---|
public StandardLispCharacter()
public StandardLispCharacter(Jatha lisp, char theChar)
public StandardLispCharacter(Jatha lisp)
Method Detail |
---|
public void internal_princ(PrintStream os)
internal_princ
in interface LispValue
internal_princ
in class StandardLispValue
public void internal_prin1(PrintStream os)
internal_prin1
in interface LispValue
internal_prin1
in class StandardLispValue
public void internal_print(PrintStream os)
internal_print
in interface LispValue
internal_print
in class StandardLispValue
char getValue()
public Object toJava()
toJava
in interface LispValue
toJava
in class StandardLispValue
public String toString()
StandardLispValue
toString()
returns a printed representation
of the form (as printed by (prin1)
) in
a Java string.
toString
in interface LispValue
toString
in class StandardLispValue
public boolean basic_constantp()
LispValue
basic_constantp
in interface LispValue
basic_constantp
in class StandardLispValue
public LispValue characterp()
LispValue
characterp
in interface LispValue
characterp
in class StandardLispValue
public LispValue constantp()
LispValue
constantp
in interface LispValue
constantp
in class StandardLispValue
public LispValue eql(LispValue val)
LispValue
eql
in interface LispValue
eql
in class StandardLispValue
public LispValue equal(LispValue val)
LispValue
equal
in interface LispValue
equal
in class StandardLispValue
public LispValue string()
string
in interface LispValue
string
in class StandardLispValue
public LispValue type_of()
type_of
in interface LispValue
type_of
in class StandardLispValue
public LispValue typep(LispValue type)
typep
in interface LispValue
typep
in class StandardLispAtom
public char getCharacterValue()
getCharacterValue
in interface LispCharacter
|
Jatha Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |