|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.QueryInfo
jet.api.UnionInfos
public class UnionInfos
This class represents a packet which provides handy ways to manipulate union query informations.
| Constructor Summary | |
|---|---|
UnionInfos()
Constructor. |
|
UnionInfos(int capacity)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addUnionInfo(UnionInfo info)
Adds a UnionInfo into the container. |
UnionInfo |
getUnionInfo(int index)
Gets the specified UnionInfo object. |
UnionInfo[] |
getUnionInfos()
Gets all UnionInfo objects in the container. |
boolean |
insertUnionInfo(UnionInfo info,
int index)
Inserts a UnionInfo at the specific position. |
| Methods inherited from class jet.api.QueryInfo |
|---|
getInfoNumber, indexOf, remove, remove, removeAll |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnionInfos()
UnionInfo array's size of 10.
public UnionInfos(int capacity)
UnionInfo array's size.
capacity - The initial capacity of the container of UnionInfo.| Method Detail |
|---|
public void addUnionInfo(UnionInfo info)
UnionInfo into the container.
info - The UnionInfo object to be added.
public boolean insertUnionInfo(UnionInfo info,
int index)
UnionInfo at the specific position.
info - The UnionInfo to be inserted.index - The index where the UnionInfo to be inserted.
true if inserts successfully; false otherwise.public UnionInfo getUnionInfo(int index)
UnionInfo object.
index - Specifies the position of UnionInfoin the container. The index should be a digit between 0 and length-1
UnionInfo object.public UnionInfo[] getUnionInfos()
UnionInfo objects in the container.
UnionInfo array.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||