prefuse.util.collections
Class IntIterator
java.lang.Object
prefuse.util.collections.AbstractLiteralIterator
prefuse.util.collections.IntIterator
- All Implemented Interfaces:
- java.util.Iterator, LiteralIterator
- Direct Known Subclasses:
- AbstractTreeMap.ValueIterator, BooleanIntBitSetMap.BitSetIterator, CompositeIntIterator, FilterRowIterator, IntArrayIterator, RowManager.ColumnRowIterator, RowManager.RowIterator, TableIterator, UniqueRowIterator
public abstract class IntIterator
- extends AbstractLiteralIterator
Abstract LiteralIterator implementation that supports an iteration over
int values. Subclasses need only implement the nextInt() method.
The nextLong(), nextFloat(), and nextDouble()
methods all simply cast the output of nextInt(). The
next() method simply wraps the output of nextInt() in
an Integer object.
- Author:
- jeffrey heer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Iterator |
hasNext, remove |
IntIterator
public IntIterator()
next
public java.lang.Object next()
- See Also:
Iterator.next()
isDoubleSupported
public boolean isDoubleSupported()
- Specified by:
isDoubleSupported in interface LiteralIterator- Overrides:
isDoubleSupported in class AbstractLiteralIterator
- See Also:
LiteralIterator.isDoubleSupported()
isFloatSupported
public boolean isFloatSupported()
- Specified by:
isFloatSupported in interface LiteralIterator- Overrides:
isFloatSupported in class AbstractLiteralIterator
- See Also:
LiteralIterator.isFloatSupported()
isIntSupported
public boolean isIntSupported()
- Specified by:
isIntSupported in interface LiteralIterator- Overrides:
isIntSupported in class AbstractLiteralIterator
- See Also:
LiteralIterator.isIntSupported()
isLongSupported
public boolean isLongSupported()
- Specified by:
isLongSupported in interface LiteralIterator- Overrides:
isLongSupported in class AbstractLiteralIterator
- See Also:
LiteralIterator.isLongSupported()
nextDouble
public double nextDouble()
- Specified by:
nextDouble in interface LiteralIterator- Overrides:
nextDouble in class AbstractLiteralIterator
- See Also:
LiteralIterator.nextDouble()
nextFloat
public float nextFloat()
- Specified by:
nextFloat in interface LiteralIterator- Overrides:
nextFloat in class AbstractLiteralIterator
- See Also:
LiteralIterator.nextFloat()
nextLong
public long nextLong()
- Specified by:
nextLong in interface LiteralIterator- Overrides:
nextLong in class AbstractLiteralIterator
- See Also:
LiteralIterator.nextLong()
nextInt
public abstract int nextInt()
- Specified by:
nextInt in interface LiteralIterator- Overrides:
nextInt in class AbstractLiteralIterator
- See Also:
LiteralIterator.nextInt()
Copyright © 2007 Regents of the University of California