|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.jet.rat.val.PrimitiveValue
edu.utep.cs.jet.rat.val.CharValue
public class CharValue
A class to represent a char value.
| Field Summary |
|---|
| Fields inherited from class edu.utep.cs.jet.rat.val.PrimitiveValue |
|---|
value |
| Constructor Summary | |
|---|---|
CharValue(char val)
Creates a new instance representing the given char value. |
|
| Method Summary | |
|---|---|
String |
code()
Returns Java code which, if evaluated, produces the represented value of this object. |
static String |
toPrintableString(char c)
Returns a printable string representation for the given char value. |
String |
toString()
Returns the string representation of this value. |
Class<?> |
type()
Returns the type of this value. |
| Methods inherited from class edu.utep.cs.jet.rat.val.PrimitiveValue |
|---|
isEquivalentTo, isNull, value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CharValue(char val)
char value.
| Method Detail |
|---|
public Class<?> type()
PrimitiveValue
type in interface Denotabletype in class PrimitiveValuepublic String code()
code in interface Denotablecode in class PrimitiveValuepublic String toString()
PrimitiveValue
toString in interface DenotabletoString in class PrimitiveValuepublic static String toPrintableString(char c)
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||