org.cliffc.high_scale_lib
Interface LongIterator

All Superinterfaces:
Iterator<Long>
All Known Implementing Classes:
NonBlockingHashMapLong.IteratorLong

public interface LongIterator
extends Iterator<Long>

An extension of the standard Iterator interface which provides the nextLong() method to avoid auto-boxing of results as they are returned.


Method Summary
 long nextLong()
          Returns the next long value without auto-boxing.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

nextLong

long nextLong()
Returns the next long value without auto-boxing. Using this is preferred to Iterator.next().

Returns:
The next long value.


Copyright © 2014. All rights reserved.