|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
edu.gmu.dparker3.sludge.SupplyList
holds all supply records for one time step, organizes them so they are in correct order sums qty so far (breakpoints) for all records
| Nested Class Summary |
| Nested classes inherited from class java.util.LinkedList |
|
| Nested classes inherited from class java.util.AbstractList |
|
| Field Summary |
| Fields inherited from class java.util.LinkedList |
|
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
SupplyList()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
sumQuantites()
|
java.lang.String |
toString()
|
void |
update(double resPrice,
double qty)
add a supply record if that res price already exists, then update the existing re price with the added production if not, add this supply record in the appropriate place |
| Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
| Methods inherited from class java.util.AbstractSequentialList |
iterator |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, listIterator, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
public SupplyList()
| Method Detail |
public void update(double resPrice,
double qty)
public void sumQuantites()
public java.lang.String toString()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||