@Override public void discardRunningWords() { this.brlw.RunningLength = 0; if (this.brlw.getNumberOfLiteralWords() == 0) this.next(); }
@Override public void discardRunningWords() { this.brlw.RunningLength = 0; if (this.brlw.getNumberOfLiteralWords() == 0) this.next(); }
/** * Move to the next RunningLengthWord * * @return whether the move was possible */ @Override public boolean next() { if (!this.iteratingBrlw.next()) { if (!this.masterIterator.hasNext()) { return false; } else { this.iteratingBrlw = new IteratingBufferedRunningLengthWord32(this.masterIterator.next()); } } return true; }
/** * Move to the next RunningLengthWord * * @return whether the move was possible */ @Override public boolean next() { if (!this.iteratingBrlw.next()) { if (!this.masterIterator.hasNext()) { return false; } else { this.iteratingBrlw = new IteratingBufferedRunningLengthWord32(this.masterIterator.next()); } } return true; }
if(!next()) break;