|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICallList
This interface must be implemented by a call list object, which should be used in the framework.
| Method Summary | |
|---|---|
void |
add(ICall call)
Add a call to the list. |
void |
add(ICallList callList)
Add a call list to the list. |
void |
clear()
Clears the list, means removes all elements. |
boolean |
contains(ICall call)
Checks if a call object is in this list. |
ICall |
get(int position)
Gets a call with a certain position from the list. |
void |
remove(ICall call)
Removes a call 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(ICall call)
call - call to be checked in this list.
void remove(ICall call)
call - call to be removed from the list.void add(ICall call)
call - call to be added to the list.void add(ICallList callList)
callList - call list to be added to the list.ICall get(int position)
position - position of the call.
null if none was found.int size()
void sort()
void sort(int order,
boolean direction)
order - the sort order.direction - the direction, true ascending, false descending.void clear()
Object[] toArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||