The Album class doesn't contain an iterator. Only the MusicCollection class contains an iterator. Since the ArrayList aready has a built in iterator, then do I even need to define an iterator for the...
Type: Posts; User: blobman23
The Album class doesn't contain an iterator. Only the MusicCollection class contains an iterator. Since the ArrayList aready has a built in iterator, then do I even need to define an iterator for the...
I am just confused as how to implement it. I feel like that is doing what I am suppose to do, Im just not sure. Thanks.
Hey, I apologize that my understanding of what a iterator is or does is poor. We have not really covered it.
Is this what you are talking about?
/**
*
* @return
*/
...
Okay, here is what I have gotten so far. I only have one more thing that needs to be implemented.
Album Class:
import java.io.*;
import java.util.*;
/**
*
Ok, for starters, I am having trouble figuring out how to do this compareTo method. I have tried to logically work through it with if statements but I keep getting stuck. This is what I have so far:...
That is in the Album class, the only part of that class that I needed help with is the last one. Its the MusicCollection class that I need help with the last four methods. Sorry for the confusion.
I am working on an assignment and I am having trouble figuring out exactly how to do it. I have already done a good bit of it, but I keep getting stuck.
Here is the assignment:
Here is what...