Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (ObjStationData objStationData : nextDirection.values()) {
- // Add a carriage return to the start of the every line after the first
- if (nextTrainInEveryDirection.length() > 0)
- nextTrainInEveryDirection = nextTrainInEveryDirection + "\n";
- nextTrainInEveryDirection = nextTrainInEveryDirection + objStationData.getDirection() + " Due In: " + objStationData.getDuein();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement