public class TransferSolution
extends java.lang.Object
implements java.io.Serializable
Traffic transfer solution class. The transfer times is the same for all bus routes in a transfer solution.
| Modifier and Type | Field and Description |
|---|---|
TransferLines[] |
linesItems
Transfer lines array.
|
int |
transferCount
The transfer times corresponding to transfer solution.
|
| Constructor and Description |
|---|
TransferSolution()
The Constructor.
|
TransferSolution(TransferSolution transferSolution)
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares whether the specified object equals to the current
TransferSolution object. |
int |
hashCode() |
public TransferLines[] linesItems
Transfer lines array. Selects a bus route from each transfer line to make up the whole transfer line info.
public int transferCount
The transfer times corresponding to transfer solution.
public TransferSolution()
The Constructor.
public TransferSolution(TransferSolution transferSolution)
The Constructor.
transferSolutions - Traffic transfer solution object.public boolean equals(java.lang.Object obj)
Compares whether the specified object equals to the current TransferSolution object.
equals in class java.lang.Objectobj - the object to compare with the current TransferSolution object.public int hashCode()
Gets TransferSolution the hash value of the object.
hashCode in class java.lang.Object