org.joda.primitives.iterator
Interface LongIterator

All Superinterfaces:
Iterator<Long>, PrimitiveIterator<Long>
All Known Subinterfaces:
LongListIterator
All Known Implementing Classes:
AbstractLongList.PListIterator, ArrayLongCollection.PIterator, ArrayLongIterator, ArrayLongListIterator

public interface LongIterator
extends PrimitiveIterator<Long>

Defines an iterator over primitive long values.

This interface extends Iterator allowing seamless integration with other APIs.

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

Method Summary
 long nextLong()
          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

nextLong

long nextLong()
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.