|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XDateIterator
A Date based XIterator that provide support for getting values as timestamps.
Method Summary | |
---|---|
long |
nextAsTimestamp()
Gets the next value as a timestamp. |
Methods inherited from interface com.neeve.lang.XIterator |
---|
toFirst |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
long nextAsTimestamp()
This call has the same semantics as Iterator.next()
except
that the iterator implementation may be able to avoid allocating
a Date
object.
While this method is provided in support of zero garbage iteration it is implementation depend as to whether or not this call is zero garbage.
Unless otherwise documented a null value is returned as -1.
NoSuchElementException
- iteration has no more elements.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |