|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.util.formulae.ExpressionList | +--com.klg.jclass.util.formulae.QueryExpressionList
A QueryExpressionList is a List view of a set of Expressions stored in a ResultSet (result of a database/datasource query)
Constructor Summary | |
QueryExpressionList()
Create a query expression from a query result set and ??? |
Method Summary | |
Object |
clone()
Return an Expression which is a clone of this List (NOTE: any parametrized values in indices should be substituted with their current values) |
boolean |
contains(Object obj)
Determine if the List contain the specified element |
boolean |
equals(Object obj)
Compare the given object and this List, given that equality implies the Lists contain the same entries in the same order. |
Object |
get(int index)
Retrieve the element at a given position in this List |
int |
hashCode()
Return a hash code derived from this List |
int |
indexOf(Object obj)
Find the position (first occurence) of a given object in the List. |
Iterator |
iterator()
Get an iterator over the elements in this List |
int |
lastIndexOf(Object o)
Find the position of the last occurence of a given object in the List. |
ListIterator |
listIterator(int index)
Get a ListIterator over the elements of the List beginning at the the given position in the list |
int |
size()
Return the number of elements in this List |
List |
subList(int startIndex,
int endIndex)
Get a List which is a subsequence of this List (the ordering is the same) |
Object[] |
toArray(Object[] inArray)
Fill a given array with a view of all the elements in this List NOTE: The Iterator's ordering is used |
Methods inherited from class com.klg.jclass.util.formulae.ExpressionList |
add, add, addAll, addAll, clear, containsAll, evaluate, isEmpty, listIterator, remove, remove, removeAll, retainAll, set, toArray |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryExpressionList()
Method Detail |
public Object clone()
clone
in interface Expression
clone
in class ExpressionList
public boolean contains(Object obj)
contains
in interface List
contains
in class ExpressionList
obj
- The element to be searched for in this List
public boolean equals(Object obj)
equals
in interface List
equals
in class ExpressionList
obj
- the object whose equality with this List is tested
public Object get(int index)
get
in interface List
get
in class ExpressionList
index
- The desired element's position
public int hashCode()
hashCode
in interface List
hashCode
in class Object
public int indexOf(Object obj)
indexOf
in interface List
indexOf
in class ExpressionList
obj
- The object to be found in the List
public Iterator iterator()
iterator
in interface List
iterator
in class ExpressionList
public int lastIndexOf(Object o)
lastIndexOf
in interface List
lastIndexOf
in class ExpressionList
public ListIterator listIterator(int index)
listIterator
in interface List
listIterator
in class ExpressionList
index
- The position at which to initialise the ListIterator
public int size()
size
in interface List
size
in class ExpressionList
public List subList(int startIndex, int endIndex)
subList
in interface List
subList
in class ExpressionList
startIndex
- The first element of the sublistendIndex
- The element after the last element of the sublist
public Object[] toArray(Object[] inArray)
toArray
in interface List
toArray
in class ExpressionList
inArray
- The array in which to store the elements
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |