MutableEventIterator
interface MutableEventIterator : EventIterator, MutableListIterator<Event>
Content copied to clipboard
A mutable variation of EventIterator, which may be used to mutate an underlying log of events.
Functions
Link copied to clipboard
abstract fun add( seqno: SequenceNumber, site: SiteIdentifier, event: ByteArray, from: Int = 0, until: Int = event.size)
Content copied to clipboard
Adds an event at the current implicit cursor position, and moves the cursor after the inserted element.
Link copied to clipboard
Link copied to clipboard
Moves the EventIterator to the next event, without allocations.
Link copied to clipboard
Moves the EventIterator to the previous event, without allocations.
Link copied to clipboard
Properties
Link copied to clipboard
The EventIdentifier of the next event.
Link copied to clipboard
The SequenceNumber of the next event.
Link copied to clipboard
The SiteIdentifier of the next event.
Link copied to clipboard
The body of the previous event, between previousFrom and previousUntil.
Link copied to clipboard
The EventIdentifier of the previous event.
Link copied to clipboard
Link copied to clipboard
The SequenceNumber of the previous event.
Link copied to clipboard
The SiteIdentifier of the previous event.