|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.data.ExprInfo
org.basex.query.expr.Expr
org.basex.query.value.Value
org.basex.query.value.seq.Seq
org.basex.query.value.seq.NativeSeq
org.basex.query.value.seq.FltSeq
public final class FltSeq
Sequence of items of type xs:float
, containing at least two of them.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Flag |
Field Summary |
---|
Fields inherited from class org.basex.query.value.Value |
---|
type |
Method Summary | |
---|---|
static Value |
get(float[] items)
Creates a sequence with the specified items. |
static Value |
get(Value[] vals,
int size)
Creates a sequence with the items in the specified expressions. |
Flt |
itemAt(long pos)
Gets the item at the given position in the value. |
Value |
reverse()
Returns a sequence in reverse order. |
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality. |
Value |
sub(long start,
long length)
Returns a subsequence. |
float[] |
toJava()
Returns a Java representation of the value. |
Methods inherited from class org.basex.query.value.seq.NativeSeq |
---|
ebv, homogeneous, type, writeTo |
Methods inherited from class org.basex.query.value.seq.Seq |
---|
get, get, hash, item, iter, plan, size, test, toString |
Methods inherited from class org.basex.query.value.Value |
---|
accept, cache, checkUp, compile, copy, count, data, description, exprSize, has, inline, isValue, iter, iterator, removable, serialize, value |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, compEbv, copy, hasFreeVars, indexAccessible, indexEquivalent, inlineAll, isEmpty, isFunction, isItem, isVacuous, iterable, markTailCalls, optimize, uses, visitAll |
Methods inherited from class org.basex.data.ExprInfo |
---|
addPlan, addPlan, info, planAttr, planElem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Flt itemAt(long pos)
Value
itemAt
in class Value
pos
- position
public boolean sameAs(Expr cmp)
Expr
sameAs
in class Expr
cmp
- expression to be compared
public float[] toJava()
Value
toJava
in class Seq
public Value sub(long start, long length)
Seq
sub
in class Seq
start
- first valuelength
- length of sequence
public Value reverse()
Seq
reverse
in class Seq
public static Value get(float[] items)
items
- items
public static Value get(Value[] vals, int size) throws QueryException
vals
- valuessize
- size of resulting sequence
QueryException
- query exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |