| 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 Int |
get(long v)
Returns an instance of this class.
|
static Int |
get(long v,
Type t)
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.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, markTailCallspublic Int(long v, Type t)
v - valuet - data typepublic static Int get(long v)
v - valuepublic static Int get(long v, Type t)
v - valuet - data typepublic final byte[] string(InputInfo ii)
Itemii - input info, use null if none is availablepublic final boolean bool(InputInfo ii)
Itempublic final long itr(InputInfo ii)
Itemii - input infopublic final float flt(InputInfo ii)
Itemii - input infopublic final double dbl(InputInfo ii)
Itemii - input infopublic final java.math.BigDecimal dec(InputInfo ii)
Itempublic final boolean eq(InputInfo ii, Item it) throws QueryException
Itemeq in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic final int diff(InputInfo ii, Item it) throws QueryException
Itemdiff in class Itemii - input infoit - item to be comparedQueryException - query exceptionpublic final java.lang.Object toJava()
Valuepublic final boolean sameAs(Expr cmp)
Exprpublic final int hash(InputInfo ii)
Value