|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jess.Value | +--jess.LongValue
A class to represent a Java long.
(C) 1998 E.J. Friedman-Hill and the Sandia Corporation
Constructor Summary | |
LongValue(long l)
Create a LongValue |
Method Summary | |
boolean |
equals(Value v)
Compare this value to another value. |
int |
intValue(Context c)
Returns the contents of this value, as an int |
long |
longValue(Context c)
Returns the contents of this value, as a long |
double |
numericValue(Context c)
Returns the contents of this value, as a number |
java.lang.String |
stringValue(Context c)
Returns the contents of this value, as a String |
java.lang.String |
toString()
Pretty-print this value, without adding parens to any lists |
Methods inherited from class jess.Value |
atomValue,
equals,
equalsStar,
externalAddressValue,
factIDValue,
factValue,
floatValue,
funcallValue,
hashCode,
intArrayValue,
listValue,
resolveValue,
toStringWithParens,
type,
variableValue |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public LongValue(long l) throws JessException
l
- The long valueMethod Detail |
public final long longValue(Context c) throws JessException
public final double numericValue(Context c) throws JessException
public final int intValue(Context c) throws JessException
public final java.lang.String stringValue(Context c) throws JessException
public final java.lang.String toString()
public final boolean equals(Value v)
v
- The Value to compare to.
|
© 1997 E.J. Friedman-Hill and Sandia Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |