jet.api
Class QueryInfo

java.lang.Object
  extended by jet.api.QueryInfo
Direct Known Subclasses:
UnionInfos

public class QueryInfo
extends java.lang.Object

This class is the base class of all query-concerned classes. it represents a packet which provides basic operations to manipulate query infos


Method Summary
 int getInfoNumber()
          return the number of the elements
 int indexOf(java.lang.Object info)
          return where the specific object is
 boolean remove(int index)
          remove a element from the array
 boolean remove(java.lang.Object info)
          delete a given object from the array
 void removeAll()
          delete all objects from the array
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

remove

public boolean remove(java.lang.Object info)
delete a given object from the array

Parameters:
info - the object to be deleted

remove

public boolean remove(int index)
remove a element from the array

Parameters:
index - where the object to be removed

removeAll

public void removeAll()
delete all objects from the array


indexOf

public int indexOf(java.lang.Object info)
return where the specific object is

Parameters:
info - the object to be looked for
Returns:
where the object first found, returns -1 if the object is not found.

getInfoNumber

public int getInfoNumber()
return the number of the elements

Returns:
informations number value