prefuse.util.collections
Class AbstractLiteralIterator

java.lang.Object
  extended by prefuse.util.collections.AbstractLiteralIterator
All Implemented Interfaces:
java.util.Iterator, LiteralIterator
Direct Known Subclasses:
AbstractTreeMap.EntryIterator, IntIterator

public abstract class AbstractLiteralIterator
extends java.lang.Object
implements LiteralIterator

Abstract base class for a LiteralIterator implementations.

Author:
jeffrey heer

Constructor Summary
AbstractLiteralIterator()
           
 
Method Summary
 boolean isBooleanSupported()
           
 boolean isDoubleSupported()
           
 boolean isFloatSupported()
           
 boolean isIntSupported()
           
 boolean isLongSupported()
           
 boolean nextBoolean()
           
 double nextDouble()
           
 float nextFloat()
           
 int nextInt()
           
 long nextLong()
           
 
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, next, remove
 

Constructor Detail

AbstractLiteralIterator

public AbstractLiteralIterator()
Method Detail

nextInt

public int nextInt()
Specified by:
nextInt in interface LiteralIterator
See Also:
LiteralIterator.nextInt()

nextLong

public long nextLong()
Specified by:
nextLong in interface LiteralIterator
See Also:
LiteralIterator.nextLong()

nextFloat

public float nextFloat()
Specified by:
nextFloat in interface LiteralIterator
See Also:
LiteralIterator.nextFloat()

nextDouble

public double nextDouble()
Specified by:
nextDouble in interface LiteralIterator
See Also:
LiteralIterator.nextDouble()

nextBoolean

public boolean nextBoolean()
Specified by:
nextBoolean in interface LiteralIterator
See Also:
LiteralIterator.nextBoolean()

isBooleanSupported

public boolean isBooleanSupported()
Specified by:
isBooleanSupported in interface LiteralIterator
See Also:
LiteralIterator.isBooleanSupported()

isDoubleSupported

public boolean isDoubleSupported()
Specified by:
isDoubleSupported in interface LiteralIterator
See Also:
LiteralIterator.isDoubleSupported()

isFloatSupported

public boolean isFloatSupported()
Specified by:
isFloatSupported in interface LiteralIterator
See Also:
LiteralIterator.isFloatSupported()

isIntSupported

public boolean isIntSupported()
Specified by:
isIntSupported in interface LiteralIterator
See Also:
LiteralIterator.isIntSupported()

isLongSupported

public boolean isLongSupported()
Specified by:
isLongSupported in interface LiteralIterator
See Also:
LiteralIterator.isLongSupported()


Copyright © 2007 Regents of the University of California