|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICallerList
This interface must be implemented by a caller list object, which should be used in the framework.
| Method Summary | |
|---|---|
void |
add(ICaller caller)
Add a caller to the list. |
void |
add(ICallerList callerList)
Add a caller list to the list. |
void |
clear()
Clears the list, means removes all elements. |
boolean |
contains(ICaller caller)
Checks if a caller object is in this list. |
ICaller |
get(int position)
Gets a caller with a certain position from the list. |
void |
remove(ICaller caller)
Removes a caller from the list. |
int |
size()
Gets the size of the list. |
void |
sort()
Sorts the list with a default sort order. |
void |
sort(int order,
boolean direction)
Sorts the list with a defined sort order. |
Object[] |
toArray()
Returns an object array of this list. |
| Method Detail |
|---|
boolean contains(ICaller caller)
caller - caller to be checked in this list.
void remove(ICaller caller)
caller - caller to be removed from the list.void add(ICaller caller)
caller - caller to be added to the list.void add(ICallerList callerList)
callerList - caller list to be added to the list.ICaller get(int position)
position - position of the caller.
null if none was found.void sort()
void sort(int order,
boolean direction)
order - the sort order.direction - the direction, true ascending, false descending.int size()
void clear()
Object[] toArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||