/**
* Reads the next entry in the segment.
*/
- @SuppressWarnings("unchecked")
private void readNext() {
// Compute the index of the next entry in the segment.
final long index = getNextIndex();
}
@Override
- @SuppressWarnings("unchecked")
public void append(Indexed<E> entry) {
final long nextIndex = getNextIndex();
}
@Override
- @SuppressWarnings("unchecked")
public void truncate(long index) {
// If the index is greater than or equal to the last index, skip the truncate.
if (index >= getLastIndex()) {
/**
* Reads the next entry in the segment.
*/
- @SuppressWarnings("unchecked")
private void readNext() {
// Compute the index of the next entry in the segment.
final long index = getNextIndex();
}
@Override
- @SuppressWarnings("unchecked")
public void append(Indexed<E> entry) {
final long nextIndex = getNextIndex();
}
@Override
- @SuppressWarnings("unchecked")
public void truncate(long index) {
// If the index is greater than or equal to the last index, skip the truncate.
if (index >= getLastIndex()) {