src/main/java/com/googlecode/javaewah32/symmetric/UpdateableBitmapFunction32.java
public final Iterable<EWAHPointer32> getLiterals() {
        return new Iterable<EWAHPointer32>() {

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

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

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

                    @Override
                    public void remove() {
                        throw new RuntimeException(
                                "N/A");
                    }
                };
            }
        };
    }
public final Iterable<EWAHPointer32> getLiterals() {
        return new Iterable<EWAHPointer32>() {

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

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

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

                    @Override
                    public void remove() {
                        throw new RuntimeException(
                                "N/A");
                    }
                };
            }
        };
    }
Goes through the literals.

@return an iterator