I am having such a hard time getting my Iterator method to work. I know that I must include a class for the iterator and this is what I have so far:
package data_structures;
public class...
Type: Posts; User: chuy525
I am having such a hard time getting my Iterator method to work. I know that I must include a class for the iterator and this is what I have so far:
package data_structures;
public class...
Thanks for all your help:] I just have one more question. I am nearly done with my LinkedList here it is:
package data_structures;
import java.util.Iterator;
import...
So here is my interface for my LinkedList:
package data_structures;
import java.util.Iterator;
import java.util.NoSuchElementException;
public interface ListADT<E> extends Iterable<E> {
...