org.joda.primitives.iterator
Interface ShortIterator

All Superinterfaces:
Iterator<Short>, PrimitiveIterator<Short>
All Known Subinterfaces:
ShortListIterator
All Known Implementing Classes:
AbstractShortList.PListIterator, ArrayShortCollection.PIterator, ArrayShortIterator, ArrayShortListIterator

public interface ShortIterator
extends PrimitiveIterator<Short>

Defines an iterator over primitive short values.

This interface extends Iterator allowing seamless integration with other APIs.

Since:
1.0
Version:
CODE GENERATED
Author:
Stephen Colebourne, Jason Tiscione

Method Summary
 short nextShort()
          Gets the next value from the iterator
 
Methods inherited from interface org.joda.primitives.iterator.PrimitiveIterator
isModifiable, isResettable, reset
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

nextShort

short nextShort()
Gets the next value from the iterator

Returns:
the next available value
Throws:
NoSuchElementException - if there are no more values available


Copyright © 2005-2010 Joda.org. All Rights Reserved.