public class SingleIntIterator extends Object implements gnu.trove.iterator.TIntIterator
Constructor and Description |
---|
SingleIntIterator(int value)
Iterate over a single value.
|
public SingleIntIterator(int value)
value
- the single valuepublic boolean hasNext()
hasNext
in interface gnu.trove.iterator.TIterator
public int next()
next
in interface gnu.trove.iterator.TIntIterator
public void remove()
remove
in interface gnu.trove.iterator.TIterator
UnsupportedOperationException
- if invokedCopyright © 2013. All Rights Reserved.