Advertisement
Ankhwatcher

\n

Jul 31st, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1.   for (ObjStationData objStationData : nextDirection.values()) {
  2.                     // Add a carriage return to the start of the every line after the first
  3.                     if (nextTrainInEveryDirection.length() > 0)
  4.                         nextTrainInEveryDirection = nextTrainInEveryDirection + "\n";
  5.  
  6.                     nextTrainInEveryDirection = nextTrainInEveryDirection + objStationData.getDirection() + " Due In: " + objStationData.getDuein();
  7.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement