public final Iterable<EWAHPointer> getLiterals() {
        return new Iterable<EWAHPointer>() {

            @Override
            public Iterator<EWAHPointer> iterator() {
                return new Iterator<EWAHPointer>() {
                    int k = UpdateableBitmapFunction.this.litwlist.nextSetBit(0);

                    @Override
                    public boolean hasNext() {
                        return this.k >= 0;
                    }

                    @Override
                    public EWAHPointer next() {
                        EWAHPointer answer = UpdateableBitmapFunction.this.rw[this.k];
                        this.k = UpdateableBitmapFunction.this.litwlist.nextSetBit(this.k + 1);
                        return answer;
                    }

                    @Override
                    public void remove() {
                        throw new RuntimeException("N/A");
                    }
                };
            }
        };
    }
public final Iterable < EWAHPointer > getLiterals ( ) { return new Iterable < EWAHPointer > ( ) { @ Override public Iterator < EWAHPointer > iterator ( ) { return new Iterator < EWAHPointer > ( ) { int k = UpdateableBitmapFunction . this . litwlist . nextSetBit ( 0 ) ; @ Override public boolean hasNext ( ) { return this . k >= 0 ; } @ Override public EWAHPointer next ( ) { EWAHPointer answer = UpdateableBitmapFunction . this . rw [ this . k ] ; this . k = UpdateableBitmapFunction . this . litwlist . nextSetBit ( this . k + 1 ) ; return answer ; } @ Override public void remove ( ) { throw new RuntimeException ( "N/A" ) ; } } ; } } ; }
Goes through the literals.

@return an iterator