Created
April 9, 2009 00:06
-
-
Save zane/92142 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String horizStringHelp(int now){ | |
int index = 0; | |
String sofar = ""; | |
while(index <= 6){ | |
sofar = sofar + | |
this.columns.get(index).pieces.get(now).makeString() + " "; | |
index++; | |
} | |
return sofar; | |
} | |
/* is the same as */ | |
String horizStringHelp(int now){ | |
String sofar = ""; | |
for (Column column : this.columns) | |
sofar = sofar + | |
column.pieces.get(now).makeString() + " "; | |
} | |
return sofar; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment