| |
|
| java.lang.Object bak.pcj.adapter.ShortIteratorToIteratorAdapter
ShortIteratorToIteratorAdapter | public class ShortIteratorToIteratorAdapter implements Iterator(Code) | | This class represents adaptions of primitive iterators over
short values to Java Collections Framework iterators.
author: Søren Bak version: 1.2 21-08-2003 19:00 since: 1.0 |
Method Summary | |
public boolean | hasNext() Indicates whether more values can be returned by this
iterator. | public Object | next() Returns the next value of this iterator. | public void | remove() Removes the last value returned from the underlying
collection. |
ShortIteratorToIteratorAdapter | public ShortIteratorToIteratorAdapter(ShortIterator iterator)(Code) | | Creates a new adaption to an iterator from an iterator
over short values.
Parameters: iterator - the underlying iterator. throws: NullPointerException - if iterator is null. |
hasNext | public boolean hasNext()(Code) | | Indicates whether more values can be returned by this
iterator.
true if more values can be returnedby this iterator; returns falseotherwise. See Also: ShortIteratorToIteratorAdapter.next() |
|
|
|