Build 1.0_r1(from source)

java.util.concurrent
Class SynchronousQueue.EmptyIterator<E>

java.lang.Object
  extended by java.util.concurrent.SynchronousQueue.EmptyIterator<E>
All Implemented Interfaces:
Iterator<E>
Enclosing class:
SynchronousQueue<E>

static class SynchronousQueue.EmptyIterator<E>
extends Object
implements Iterator<E>


Constructor Summary
SynchronousQueue.EmptyIterator()
           
 
Method Summary
 boolean hasNext()
          Returns if there are more elements to iterate.
 E next()
          Returns the next object in the iteration.
 void remove()
          Removes the last object returned by next from the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousQueue.EmptyIterator

SynchronousQueue.EmptyIterator()
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: Iterator
Returns if there are more elements to iterate.

Specified by:
hasNext in interface Iterator<E>
Returns:
true if there are more elements, false otherwise
See Also:
Iterator.next()

next

public E next()
Description copied from interface: Iterator
Returns the next object in the iteration.

Specified by:
next in interface Iterator<E>
Returns:
the next object
See Also:
Iterator.hasNext()

remove

public void remove()
Description copied from interface: Iterator
Removes the last object returned by next from the collection.

Specified by:
remove in interface Iterator<E>

Build 1.0_r1(from source)

Please submit a feedback, bug or feature