| Constructor and Description |
|---|
Dec(java.math.BigDecimal d,
Type t)
Constructor.
|
Dec(byte[] t)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
bool(InputInfo ii)
Returns a boolean representation of the value.
|
double |
dbl(InputInfo ii)
Returns a double representation of the value.
|
java.math.BigDecimal |
dec(InputInfo ii)
Returns a decimal representation of the value.
|
int |
diff(InputInfo ii,
Item it)
Returns the difference between the current and the specified item.
|
boolean |
eq(InputInfo ii,
Item it)
Checks the items for equality.
|
float |
flt(InputInfo ii)
Returns a float representation of the value.
|
static Dec |
get(java.math.BigDecimal d)
Constructor.
|
static Dec |
get(double d)
Constructor.
|
int |
hash(InputInfo ii)
Returns a hash code for this value.
|
long |
itr(InputInfo ii)
Returns an integer (long) representation of the value.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
java.lang.Object |
toJava()
Returns a Java representation of the value.
|
java.lang.String |
toString() |
comparable, ebv, equiv, homogenous, input, isItem, item, itemAt, iter, iterable, plan, score, score, serialize, size, test, type, writeTo, xdmInfocache, comp, count, data, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isVacuous, markTailCalls, sameAspublic Dec(byte[] t)
t - string representationpublic Dec(java.math.BigDecimal d, Type t)
d - decimal valuet - string representationpublic static Dec get(java.math.BigDecimal d)
d - big decimal valuepublic static Dec get(double d)
d - big decimal valuepublic byte[] string(InputInfo ii)
Itemii - input info, use null if none is availablepublic boolean bool(InputInfo ii)
Itempublic long itr(InputInfo ii)
Itemii - input infopublic float flt(InputInfo ii)
Itemii - input infopublic double dbl(InputInfo ii)
Itemii - input infopublic java.math.BigDecimal dec(InputInfo ii)
Itempublic boolean eq(InputInfo ii, Item it) throws QueryException
Itemeq in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic int diff(InputInfo ii, Item it) throws QueryException
Itemdiff in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic java.lang.Object toJava()
Valuepublic final int hash(InputInfo ii)
Value