jfreerails.world.cargo
Interface CargoBundle
- All Known Implementing Classes:
- ImmutableCargoBundle, MutableCargoBundle
public interface CargoBundle
cargoBatchIterator
java.util.Iterator<CargoBatch> cargoBatchIterator()
- Note, calling hasNext() or next() on the returned iterator throws a
ConcurrentModificationException if this CargoBundle has changed since the
iterator was aquired.
contains
boolean contains(CargoBatch cb)
getAmount
int getAmount(CargoBatch cb)
getAmount
int getAmount(int cargoType)
size
int size()