public interface PositionDeleteIndex
Modifier and Type | Method and Description |
---|---|
void |
delete(long position)
Set a deleted row position.
|
void |
delete(long posStart,
long posEnd)
Set a range of deleted row positions.
|
static PositionDeleteIndex |
empty()
Returns an empty immutable position delete index.
|
boolean |
isDeleted(long position)
Checks whether a row at the position is deleted.
|
boolean |
isEmpty()
Returns true if this collection contains no element.
|
default boolean |
isNotEmpty()
Returns true if this collection contains elements.
|
void delete(long position)
position
- the deleted row positionvoid delete(long posStart, long posEnd)
posStart
- inclusive beginning of position rangeposEnd
- exclusive ending of position rangeboolean isDeleted(long position)
position
- deleted row positionboolean isEmpty()
default boolean isNotEmpty()
static PositionDeleteIndex empty()