public class WorkList<CallContextType extends ICallContext<?>> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
WorkList.Entry
Work list entry.
|
| Constructor and Description |
|---|
WorkList(IWorkListStrategy<CallContextType> w)
Constructs a new empty work list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(WorkList.Entry e)
Adds an entry.
|
boolean |
isEmpty()
Checks whether the work list is empty.
|
void |
remove(WorkList.Entry e)
Removes the given entry.
|
WorkList.Entry |
removeNext()
Picks and removes the next entry.
|
int |
size()
Returns the number of entries in the work list.
|
String |
toString()
Returns a string description of this work list.
|
public WorkList(IWorkListStrategy<CallContextType> w)
public boolean add(WorkList.Entry e)
public boolean isEmpty()
public void remove(WorkList.Entry e)
public WorkList.Entry removeNext()
public int size()
Copyright © 2012 Aarhus University