mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 09:19:57 +00:00
easier debug
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@396 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
4f18a77433
commit
72e07658ce
1 changed files with 15 additions and 0 deletions
|
@ -42,6 +42,21 @@ public final class Station
|
|||
this.lineColors = lineColors;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
StringBuilder builder = new StringBuilder("Station(");
|
||||
builder.append(id);
|
||||
builder.append(",");
|
||||
builder.append(name);
|
||||
builder.append(",");
|
||||
builder.append(latitude);
|
||||
builder.append(",");
|
||||
builder.append(longitude);
|
||||
builder.append(")");
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue