-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HW04 - ArrayListGen #2
Comments
ArrayListGen is complete, I will close this issue. |
This class is now finished and works properly so I will close this issue, |
populateArrayList should return void IMHO. Access to the ArrayListGen should be explicit through an accessor method. |
Rather than look at the index and do a comparison for hasNext() maybe we should be doing a try catch to determine if there is an Integer at that index. If it doesn't throw an exception return true. |
This class is responsible for generating an ArrayList of Integers; it will be filled by the int[] array generated by the ArrayGen.java class.
The text was updated successfully, but these errors were encountered: