|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orc.trace.WeakBackwardEventCursor
public class WeakBackwardEventCursor
Wrap a cursor to provide weak back references. This means you can only traverse back to the earliest cursor for which you hold a reference externally.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface orc.trace.EventCursor |
---|
EventCursor.EndOfStream |
Constructor Summary | |
---|---|
WeakBackwardEventCursor(EventCursor cursor)
|
Method Summary | |
---|---|
WeakBackwardEventCursor |
backward()
Return a cursor to the previous event in the stream. |
Event |
current()
Return the current event in the stream. |
WeakBackwardEventCursor |
forward()
Return a cursor to the next event in the stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeakBackwardEventCursor(EventCursor cursor)
Method Detail |
---|
public Event current()
EventCursor
current
in interface EventCursor
public WeakBackwardEventCursor forward() throws EventCursor.EndOfStream
EventCursor
forward
in interface EventCursor
EventCursor.EndOfStream
public WeakBackwardEventCursor backward() throws EventCursor.EndOfStream
EventCursor
backward
in interface EventCursor
EventCursor.EndOfStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |