Override toString() for showing correct output

parent b9a29076
......@@ -42,4 +42,8 @@ public class PedestrianIdDataKey implements Comparable<PedestrianIdDataKey> {
return Integer.compare(pedestrianId, o.pedestrianId);
}
@Override
public String toString() {
return Integer.toString(this.pedestrianId);
}
}
......@@ -36,4 +36,9 @@ public class TimestepDataKey implements Comparable<TimestepDataKey> {
return false;
return true;
}
@Override
public String toString() {
return Integer.toString(this.timestep);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment