Constructor and Description |
---|
Atm(byte[] value)
Constructor.
|
Atm(String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
bool(InputInfo ii)
Returns a boolean representation of the value.
|
int |
diff(Item it,
Collation coll,
InputInfo ii)
Returns the difference between the current and the specified item.
|
boolean |
eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii)
Checks the items for equality.
|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
byte[] |
string(InputInfo ii)
Returns a string representation of the value.
|
String |
toJava()
Returns a Java representation of the value.
|
String |
toString() |
atomItem, atomItem, atomSize, atomValue, comparable, dbl, dec, description, ebv, equiv, flt, hash, homogeneous, input, item, itemAt, iter, iterable, itr, materialize, plan, score, score, seqType, size, test, typeId, writeTo, xdmInfo
accept, atomValue, cache, checkUp, compile, copy, count, exprSize, has, inline, isValue, iter, iterator, removable, serialize, serialize, value
atomIter, data, hasFreeVars, indexAccessible, inlineAll, isEmpty, isFunction, isVacuous, markTailCalls, optimize, optimizeEbv, typeCheck, uses, visitAll
public Atm(byte[] value)
value
- valuepublic Atm(String value)
value
- valuepublic byte[] string(InputInfo ii)
Item
public boolean bool(InputInfo ii)
Item
public boolean eq(Item it, Collation coll, StaticContext sc, InputInfo ii) throws QueryException
Item
eq
in class Item
it
- item to be comparedcoll
- collationsc
- static contextii
- input infoQueryException
- query exceptionpublic int diff(Item it, Collation coll, InputInfo ii) throws QueryException
Item
diff
in class Item
it
- item to be comparedcoll
- query contextii
- input infoQueryException
- query exceptionpublic boolean sameAs(Expr cmp)
Expr
public String toJava()
Value
Copyright © 2005–2015 BaseX Team. All rights reserved.