|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CargoBatch | |
|---|---|
| jfreerails.world.accounts | Provides classes to record a players assets (for example, real estate, miles-of-track, cash, and shares) and liabilities (for example, outstanding shares and bonds, and any overdraft). |
| jfreerails.world.cargo | Provides classes that represent the cargo carried by trains. |
| Uses of CargoBatch in jfreerails.world.accounts |
|---|
| Fields in jfreerails.world.accounts declared as CargoBatch | |
|---|---|
private CargoBatch |
DeliverCargoReceipt.cb
|
| Methods in jfreerails.world.accounts that return CargoBatch | |
|---|---|
CargoBatch |
DeliverCargoReceipt.getCb()
|
| Constructors in jfreerails.world.accounts with parameters of type CargoBatch | |
|---|---|
DeliverCargoReceipt(Money m,
int quantity,
int stationId,
CargoBatch cb,
int trainId)
|
|
| Uses of CargoBatch in jfreerails.world.cargo |
|---|
| Fields in jfreerails.world.cargo with type parameters of type CargoBatch | |
|---|---|
private ImList<CargoBatch> |
ImmutableCargoBundle.batches
|
private java.util.SortedMap<CargoBatch,java.lang.Integer> |
MutableCargoBundle.sortedMap
|
| Methods in jfreerails.world.cargo that return types with arguments of type CargoBatch | |
|---|---|
java.util.Iterator<CargoBatch> |
CargoBundle.cargoBatchIterator()
Note, calling hasNext() or next() on the returned iterator throws a ConcurrentModificationException if this CargoBundle has changed since the iterator was aquired. |
java.util.Iterator<CargoBatch> |
ImmutableCargoBundle.cargoBatchIterator()
|
java.util.Iterator<CargoBatch> |
MutableCargoBundle.cargoBatchIterator()
Note, calling hasNext() or next() on the returned iterator throws a ConcurrentModificationException if this CargoBundle has changed since the iterator was aquired. |
| Methods in jfreerails.world.cargo with parameters of type CargoBatch | |
|---|---|
void |
MutableCargoBundle.addCargo(CargoBatch cb,
int amount)
|
int |
CargoBatch.compareTo(CargoBatch o)
|
boolean |
CargoBundle.contains(CargoBatch cb)
|
boolean |
ImmutableCargoBundle.contains(CargoBatch cb)
|
boolean |
MutableCargoBundle.contains(CargoBatch cb)
|
int |
CargoBundle.getAmount(CargoBatch cb)
|
int |
ImmutableCargoBundle.getAmount(CargoBatch cb)
|
int |
MutableCargoBundle.getAmount(CargoBatch cb)
|
void |
MutableCargoBundle.setAmount(CargoBatch cb,
int amount)
|
| Constructor parameters in jfreerails.world.cargo with type arguments of type CargoBatch | |
|---|---|
ImmutableCargoBundle(java.util.SortedMap<CargoBatch,java.lang.Integer> sortedMap)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||