gnu.xquery.util

Class ItemAt

Implemented Interfaces:
Named

public class ItemAt
extends Procedure2

Returns a value at a given index in a sequence of values. Implements XQuery 'item-at'.

Field Summary

static ItemAt
itemAt

Method Summary

Object
apply2(Object arg1, Object arg2)
static Object
itemAt(Object seq, int index)

Methods inherited from class gnu.mapping.Procedure2

apply0, apply1, apply2, apply3, apply4, applyN, numArgs

Methods inherited from class gnu.mapping.Procedure

apply, apply, apply0, apply1, apply2, apply3, apply4, applyN, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, numArgs, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString

Field Details

itemAt

public static final ItemAt itemAt

Method Details

apply2

public Object apply2(Object arg1,
                     Object arg2)
Overrides:
apply2 in interface Procedure2

itemAt

public static Object itemAt(Object seq,
                            int index)