public class TransitStatistics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
count
The number of vehicles
|
protected int[] |
zoneNumbersSequence
The zone numbers
|
Constructor and Description |
---|
TransitStatistics() |
TransitStatistics(int[] zoneNumbersSequence,
long count)
Creates a new TransitStatistics with the given attributes
|
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Returns the number of vehicles
|
int[] |
getZoneNumbersSequence()
Returns the zone numbers
|
void |
setCount(long count)
Changes the number of vehicles
|
void |
setZoneNumbersSequence(int[] zoneNumbersSequence)
Changes the zone numbers
|
protected int[] zoneNumbersSequence
protected long count
public TransitStatistics()
public TransitStatistics(int[] zoneNumbersSequence, long count)
zoneNumbersSequence
- the zone numberscount
- the number of vehiclespublic int[] getZoneNumbersSequence()
public void setZoneNumbersSequence(int[] zoneNumbersSequence)
zoneNumbersSequence
- the new zone numberspublic long getCount()
public void setCount(long count)
count
- the new number of vehicles