public class AlternatingDinerMenuIterator extends java.lang.Object implements java.util.Iterator
Modifier and Type | Field and Description |
---|---|
(package private) MenuItem[] |
items |
(package private) int |
position |
Constructor and Description |
---|
AlternatingDinerMenuIterator(MenuItem[] items) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove() |
public AlternatingDinerMenuIterator(MenuItem[] items)