1.迭代器实现
package com.zhaochao;
public interface Iterator<E> {
boolean hasNext();
E next();
boolean delete();
boolean modify(E e);
int index();
}
package com.zhaochao;
public inte1.迭代器实现
package com.zhaochao;
public interface Iterator<E> {
boolean hasNext();
E next();
boolean delete();
boolean modify(E e);
int index();
}
package com.zhaochao;
public inte