| 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 Dbl |
get(byte[] v,
InputInfo ii)
Returns an instance of this class.
|
static Dbl |
get(double d)
Returns an instance of this class.
|
int |
hash(InputInfo ii)
Returns a hash code for this value.
|
long |
itr(InputInfo ii)
Returns an integer (long) representation of the value.
|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
java.lang.Double |
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, markTailCallspublic static final Dbl NAN
public static Dbl get(double d)
d - valuepublic static Dbl get(byte[] v, InputInfo ii) throws QueryException
v - valueii - input infoQueryException - query exceptionpublic 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) throws QueryException
Itemdec in class Itemii - input infoQueryException - query exceptionpublic 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.Double toJava()
Valuepublic boolean sameAs(Expr cmp)
Exprpublic final int hash(InputInfo ii)
Value