Copyright© 2008-2022 Sitevision AB, all rights reserved.
public interface EventJournal extends EventIterator
EventJournal
is an extension of EventIterator
that provides the additional method skipTo(long)
.
Sitevision note: Unsupported operation
Modifier and Type | Method and Description |
---|---|
void |
skipTo(long date)
Skip all elements of the iterator earlier than
date . |
nextEvent
getPosition, getSize, skip
forEachRemaining, hasNext, next, remove
void skipTo(long date)
date
.
If an attempt is made to skip past the last element of the iterator, no
exception is thrown but the subsequent EventIterator.nextEvent()
will fail.
date
- a long value that represents an offset in milliseconds from
the Epoch, January 1, 1970 00:00:00.000 GMT (Gregorian).Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.