slumberdb/slumberdb-leveldb/src/main/java/org/boon/slumberdb/leveldb/LevelDBKeyValueStore.java
@Override
    public KeyValueIterable<byte[], byte[]> loadAll() {

        final DBIterator iterator = database.iterator();
        iterator.seekToFirst();


        return new KeyValueIterable<byte[], byte[]>() {
            @Override
            public void close() {
                closeIterator(iterator);
            }

            @Override
            public Iterator<Entry<byte[], byte[]>> iterator() {
                return new Iterator<Entry<byte[], byte[]>>() {
                    @Override
                    public boolean hasNext() {
                        return iterator.hasNext();
                    }

                    @Override
                    public Entry<byte[], byte[]> next() {

                        Map.Entry<byte[], byte[]> next = iterator.next();
                        return new Entry<>(next.getKey(), next.getValue());
                    }

                    @Override
                    public void remove() {
                        iterator.remove();
                    }
                };
            }
        };
    }
@Override
    public KeyValueIterable<byte[], byte[]> loadAll() {

        final DBIterator iterator = database.iterator();
        iterator.seekToFirst();


        return new KeyValueIterable<byte[], byte[]>() {
            @Override
            public void close() {
                closeIterator(iterator);
            }

            @Override
            public Iterator<Entry<byte[], byte[]>> iterator() {
                return new Iterator<Entry<byte[], byte[]>>() {
                    @Override
                    public boolean hasNext() {
                        return iterator.hasNext();
                    }

                    @Override
                    public Entry<byte[], byte[]> next() {

                        Map.Entry<byte[], byte[]> next = iterator.next();
                        return new Entry<>(next.getKey(), next.getValue());
                    }

                    @Override
                    public void remove() {
                        iterator.remove();
                    }
                };
            }
        };
    }
@ Override public KeyValueIterable < byte [ ] , byte [ ] > loadAll ( ) { final DBIterator iterator = database . iterator ( ) ; iterator . seekToFirst ( ) ; return new KeyValueIterable < byte [ ] , byte [ ] > ( ) { @ Override public void close ( ) { closeIterator ( iterator ) ; } @ Override public Iterator < Entry < byte [ ] , byte [ ] > > iterator ( ) { return new Iterator < Entry < byte [ ] , byte [ ] > > ( ) { @ Override public boolean hasNext ( ) { return iterator . hasNext ( ) ; } @ Override public Entry < byte [ ] , byte [ ] > next ( ) { Map . Entry < byte [ ] , byte [ ] > next = iterator . next ( ) ; return new Entry <> ( next . getKey ( ) , next . getValue ( ) ) ; } @ Override public void remove ( ) { iterator . remove ( ) ; } } ; } } ; }
Load all of the key/values from the store.

@return
Load all of the key / values from the store .