|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.Staker.JobSummaryIterator
public class JobSummaryIterator
A job iterator that summarizes staked materials by type.
| Field Summary | |
|---|---|
protected Job |
currentJob
The job being iterated. |
protected Unit |
currentUnit
The current unit. |
protected int |
numberExisting
The number of existing units of that type. |
protected int |
numberNew
The number of new units of that type. |
protected int |
numberRetire
The number of units to be retired of that type. |
| Constructor Summary | |
|---|---|
JobSummaryIterator(Job jobby)
Create a new JobSummaryIterator over the given job. |
|
| Method Summary | |
|---|---|
protected void |
forEachUnit()
Called for each Unit. |
void |
start()
Begin the iteration, and thus the work. |
protected void |
theJob()
Called first. |
protected void |
whenFinished()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Job currentJob
protected Unit currentUnit
protected int numberNew
protected int numberExisting
protected int numberRetire
| Constructor Detail |
|---|
public JobSummaryIterator(Job jobby)
| Method Detail |
|---|
public void start()
protected void theJob()
protected void forEachUnit()
protected void whenFinished()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||