KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > prefuse > util > collections > AbstractLiteralIterator


1 package prefuse.util.collections;
2
3 /**
4  * Abstract base class for a LiteralIterator implementations.
5  *
6  * @author <a HREF="http://jheer.org">jeffrey heer</a>
7  */

8 public abstract class AbstractLiteralIterator implements LiteralIterator {
9
10     /**
11      * @see prefuse.util.collections.LiteralIterator#nextInt()
12      */

13     public int nextInt() {
14         throw new UnsupportedOperationException JavaDoc("int type unsupported");
15     }
16
17     /**
18      * @see prefuse.util.collections.LiteralIterator#nextLong()
19      */

20     public long nextLong() {
21         throw new UnsupportedOperationException JavaDoc("long type unsupported");
22     }
23
24     /**
25      * @see prefuse.util.collections.LiteralIterator#nextFloat()
26      */

27     public float nextFloat() {
28         throw new UnsupportedOperationException JavaDoc("float type unsupported");
29     }
30
31     /**
32      * @see prefuse.util.collections.LiteralIterator#nextDouble()
33      */

34     public double nextDouble() {
35         throw new UnsupportedOperationException JavaDoc("double type unsupported");
36     }
37
38     /**
39      * @see prefuse.util.collections.LiteralIterator#nextBoolean()
40      */

41     public boolean nextBoolean() {
42         throw new UnsupportedOperationException JavaDoc("boolean type unsupported");
43     }
44
45     /**
46      * @see prefuse.util.collections.LiteralIterator#isBooleanSupported()
47      */

48     public boolean isBooleanSupported() {
49         return false;
50     }
51
52     /**
53      * @see prefuse.util.collections.LiteralIterator#isDoubleSupported()
54      */

55     public boolean isDoubleSupported() {
56         return false;
57     }
58
59     /**
60      * @see prefuse.util.collections.LiteralIterator#isFloatSupported()
61      */

62     public boolean isFloatSupported() {
63         return false;
64     }
65
66     /**
67      * @see prefuse.util.collections.LiteralIterator#isIntSupported()
68      */

69     public boolean isIntSupported() {
70         return false;
71     }
72
73     /**
74      * @see prefuse.util.collections.LiteralIterator#isLongSupported()
75      */

76     public boolean isLongSupported() {
77         return false;
78     }
79     
80 } // end of class AbstractLiteralIterator
81
Popular Tags