01: package org.geotools.data.store;
02:
03: import java.util.Iterator;
04:
05: /**
06: * An iterator that returns no content.
07: *
08: * @author Justin Deoliveira, The Open Planning Project
09: *
10: */
11: public class EmptyIterator implements Iterator {
12:
13: public void remove() {
14: }
15:
16: public boolean hasNext() {
17: return false;
18: }
19:
20: public Object next() {
21: return null;
22: }
23:
24: }
|