|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WaitingQueueStructure>
umontreal.iro.lecuyer.contactcenters.router.WaitingQueueStructure
public enum WaitingQueueStructure
Possible data structures for waiting queues.
Enum Constant Summary | |
---|---|
LIST
Queued contacts are placed in an ordinary list, in the order they enter the queue. |
|
PRIORITY
Queued contacts are put into a priority queue, usually implemented using a heap. |
|
SORTEDSET
Queued contacts are put into a sorted set, usually implemented by a binary tree. |
Method Summary | |
---|---|
static WaitingQueueStructure |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WaitingQueueStructure[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WaitingQueueStructure LIST
public static final WaitingQueueStructure PRIORITY
public static final WaitingQueueStructure SORTEDSET
PRIORITY
, but the contacts in queue
can be enumerated in the correct order at any time.
However, sorted sets are slower than priority queues.
Method Detail |
---|
public static WaitingQueueStructure[] values()
for (WaitingQueueStructure c : WaitingQueueStructure.values()) System.out.println(c);
public static WaitingQueueStructure valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |