1 package prefuse.util.collections; 2 3 8 public abstract class AbstractLiteralIterator implements LiteralIterator { 9 10 13 public int nextInt() { 14 throw new UnsupportedOperationException ("int type unsupported"); 15 } 16 17 20 public long nextLong() { 21 throw new UnsupportedOperationException ("long type unsupported"); 22 } 23 24 27 public float nextFloat() { 28 throw new UnsupportedOperationException ("float type unsupported"); 29 } 30 31 34 public double nextDouble() { 35 throw new UnsupportedOperationException ("double type unsupported"); 36 } 37 38 41 public boolean nextBoolean() { 42 throw new UnsupportedOperationException ("boolean type unsupported"); 43 } 44 45 48 public boolean isBooleanSupported() { 49 return false; 50 } 51 52 55 public boolean isDoubleSupported() { 56 return false; 57 } 58 59 62 public boolean isFloatSupported() { 63 return false; 64 } 65 66 69 public boolean isIntSupported() { 70 return false; 71 } 72 73 76 public boolean isLongSupported() { 77 return false; 78 } 79 80 } | Popular Tags |