|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.universe.OrderQueueSet
This data structure is an array of hashtables. Each hashtable represents one order type. The hashtable is keyed off of the getKey method of Order.
Nested Class Summary | |
private class |
OrderQueueSet.OrderQueueSetEnumeration
|
Field Summary | |
private java.util.Vector |
names
The name of each order type. |
private java.util.Hashtable[] |
queues
The array of Hashtables of queues for each order type. |
Constructor Summary | |
OrderQueueSet(java.util.Vector names)
This Constructor takes a Vector of names for its argument. |
Method Summary | |
java.util.Enumeration |
elements()
Used for iterating through the hashtables. |
java.lang.String |
getName(OrderQueueSetIndex index)
Returns the name of the selected Hashtable. |
java.util.Hashtable |
getQueues(OrderQueueSetIndex index)
Returns a Hashtable of queues. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Hashtable[] queues
private java.util.Vector names
Constructor Detail |
public OrderQueueSet(java.util.Vector names)
names
- Vector of StringsOrderQueueSet.OrderQueueSetEnumeration
Method Detail |
public java.util.Hashtable getQueues(OrderQueueSetIndex index)
index
- Selects the Queue Hashtable
public java.lang.String getName(OrderQueueSetIndex index)
index
-
public java.util.Enumeration elements()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |