public interface LongIterator
Iterator over a set of Java-type long values.
-
Field Summary 
Fields
A default implementation of LongIterator that has no values.
-
Method Summary 
boolean
Return true if there is a next long in this iterator.
boolean
Return true if there a previous long in this iterator.
long
Get the next long value in this iterator.
long
Get the previous long value in this iterator.
-
Field Details 
-
EMPTY 
A default implementation of LongIterator that has no values.
-
Method Details 
-
hasNext 
boolean hasNext()
Return true if there is a next long in this iterator.
-
next 
long next()
Get the next long value in this iterator.
-
hasPrevious 
boolean hasPrevious()
Return true if there a previous long in this iterator.
-
previous 
long previous()
Get the previous long value in this iterator.