public void parseNextRun() {
        if ((this.isLiteral)
                || (this.iterator.getNumberOfLiteralWords() == 0)) {
            // no choice, must load next runs
            this.iterator.discardFirstWords(this.iterator.size());
            if (this.iterator.getRunningLength() > 0) {
                this.endrun += this.iterator
                        .getRunningLength();
                this.isLiteral = false;
                this.value = this.iterator.getRunningBit();
            } else if (this.iterator.getNumberOfLiteralWords() > 0) {
                this.isLiteral = true;
                this.endrun += this.iterator
                        .getNumberOfLiteralWords();
            } else {
                this.dead = true;
            }

        } else {
            this.isLiteral = true;
            this.endrun += this.iterator.getNumberOfLiteralWords();
        }

    }
public void parseNextRun() {
        if ((this.isLiteral)
                || (this.iterator.getNumberOfLiteralWords() == 0)) {
            
            this.iterator.discardFirstWords(this.iterator.size());
            if (this.iterator.getRunningLength() > 0) {
                this.endrun += this.iterator
                        .getRunningLength();
                this.isLiteral = false;
                this.value = this.iterator.getRunningBit();
            } else if (this.iterator.getNumberOfLiteralWords() > 0) {
                this.isLiteral = true;
                this.endrun += this.iterator
                        .getNumberOfLiteralWords();
            } else {
                this.dead = true;
            }

        } else {
            this.isLiteral = true;
            this.endrun += this.iterator.getNumberOfLiteralWords();
        }

    }
public void parseNextRun ( ) { if ( ( this . isLiteral ) || ( this . iterator . getNumberOfLiteralWords ( ) == 0 ) ) { // no choice, must load next runs this . iterator . discardFirstWords ( this . iterator . size ( ) ) ; if ( this . iterator . getRunningLength ( ) > 0 ) { this . endrun += this . iterator . getRunningLength ( ) ; this . isLiteral = false ; this . value = this . iterator . getRunningBit ( ) ; } else if ( this . iterator . getNumberOfLiteralWords ( ) > 0 ) { this . isLiteral = true ; this . endrun += this . iterator . getNumberOfLiteralWords ( ) ; } else { this . dead = true ; } } else { this . isLiteral = true ; this . endrun += this . iterator . getNumberOfLiteralWords ( ) ; } }
Process the next run
Process the next run