Skip to content

Instantly share code, notes, and snippets.

@zane
Created April 8, 2009 23:56
Show Gist options
  • Save zane/92139 to your computer and use it in GitHub Desktop.
Save zane/92139 to your computer and use it in GitHub Desktop.
public void initColumn (ArrayList<Spaces> arr){
int index = 0;
while (index <= 5){
arr.set(index, new unFilled());
index++;
}
}
public void initColumn (ArrayList<Spaces> arr){
for (int index = 0; index <= 5; index++) {
arr.set(index, new unFilled());
}
}
public void initColumn (ArrayList<Spaces> arr){
for (int index = 0; index <= 5; index++) {
arr.add(new unFilled());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment