| 
PCJ API Version 1.2  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbak.pcj.adapter.DoubleIteratorToIteratorAdapter
This class represents adaptions of primitive iterators over double values to Java Collections Framework iterators.
| Constructor Summary | |
DoubleIteratorToIteratorAdapter(DoubleIterator iterator)
Creates a new adaption to an iterator from an iterator over double values.  | 
|
| Method Summary | |
 boolean | 
hasNext()
Indicates whether more values can be returned by this iterator.  | 
 Object | 
next()
Returns the next value of this iterator.  | 
 void | 
remove()
Removes the last value returned from the underlying collection.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public DoubleIteratorToIteratorAdapter(DoubleIterator iterator)
iterator - the underlying iterator.
NullPointerException - if iterator is null.| Method Detail | 
public boolean hasNext()
hasNext in interface Iteratornext()public Object next()
next in interface IteratorNoSuchElementException - if no more elements are available from this
              iterator.hasNext()public void remove()
remove in interface IteratorUnsupportedOperationException - if removal is not supported by this iterator.
IllegalStateException - if no element has been returned by this iterator
              yet.
  | 
PCJ API Version 1.2  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||