|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.persistence.SortOrderCollection
public final class SortOrderCollection
Holds a collection of SortOrder
objects.
Constructor Summary | |
---|---|
SortOrderCollection()
Creates instance of SortOrderCollection . |
Method Summary | |
---|---|
void |
add(SortOrder sortOrder)
Adds the SortOrder to this collection. |
boolean |
contains(SortOrder sortOrder)
Checks if this collections contains the given SortOrder . |
int |
count()
* Gets the number of SortOrder objects in this collection. |
SortOrder |
getByIndex(int index)
Gets a SortOrder by index. |
int |
indexOf(SortOrder sortOrder)
Determines the index of the specified SortOrder . |
void |
insert(int index,
SortOrder sortOrder)
Inserts specified SortOrder object at given index. |
void |
remove(SortOrder sortOrder)
Removes specified SortOrder object from this collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortOrderCollection()
SortOrderCollection
.
Method Detail |
---|
public SortOrder getByIndex(int index)
SortOrder
by index.
index
- The zero-based index of the SortOrder
to find.
SortOrder
.public void add(SortOrder sortOrder)
SortOrder
to this collection.
sortOrder
- public void insert(int index, SortOrder sortOrder)
SortOrder
object at given index.
index
- sortOrder
- public void remove(SortOrder sortOrder)
SortOrder
object from this collection.
sortOrder
- public boolean contains(SortOrder sortOrder)
SortOrder
.
sortOrder
- SortOrder
to check.
public int indexOf(SortOrder sortOrder)
SortOrder
.
sortOrder
- The SortOrder
to find.
public int count()
SortOrder
objects in this collection.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |