com.generationjava.collections
Class BlockIterator

java.lang.Object
  extended bycom.generationjava.collections.BlockIterator
All Implemented Interfaces:
Iterator

public class BlockIterator
extends Object
implements Iterator


Constructor Summary
BlockIterator(int size, Iterator iterator)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockIterator

public BlockIterator(int size,
                     Iterator iterator)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 2000-2005 OSJava. All Rights Reserved.