01: package prefuse.util.collections;
02:
03: import java.util.Iterator;
04:
05: /**
06: * @author <a href="http://jheer.org">jeffrey heer</a>
07: */
08: public interface LiteralIterator extends Iterator {
09:
10: public int nextInt();
11:
12: public boolean isIntSupported();
13:
14: public long nextLong();
15:
16: public boolean isLongSupported();
17:
18: public float nextFloat();
19:
20: public boolean isFloatSupported();
21:
22: public double nextDouble();
23:
24: public boolean isDoubleSupported();
25:
26: public boolean nextBoolean();
27:
28: public boolean isBooleanSupported();
29:
30: } // end of interface LiteralIterator
|