com.googlecode.javaewah32
Class IntIteratorOverIteratingRLW32

java.lang.Object
  extended by com.googlecode.javaewah32.IntIteratorOverIteratingRLW32
All Implemented Interfaces:
IntIterator

public class IntIteratorOverIteratingRLW32
extends Object
implements IntIterator

Implementation of an IntIterator over an IteratingRLW.


Constructor Summary
IntIteratorOverIteratingRLW32(IteratingRLW32 p)
           
 
Method Summary
 boolean hasNext()
          Is there more?
 int next()
          Return the next integer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntIteratorOverIteratingRLW32

public IntIteratorOverIteratingRLW32(IteratingRLW32 p)
Parameters:
p - iterator we wish to iterate over
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: IntIterator
Is there more?

Specified by:
hasNext in interface IntIterator
Returns:
true, if there is more, false otherwise

next

public final int next()
Description copied from interface: IntIterator
Return the next integer

Specified by:
next in interface IntIterator
Returns:
the integer


Copyright © 2014. All Rights Reserved.