Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.iq80.leveldb.util;
 
 
 
 {
    private final TableIterator tableIterator;
    public InternalTableIterator(TableIterator tableIterator)
    {
        this. = tableIterator;
    }
    @Override
    protected void seekToFirstInternal()
    {
        .seekToFirst();
    }
    @Override
    public void seekInternal(InternalKey targetKey)
    {
        .seek(targetKey.encode());
    }
    @Override
    protected Entry<InternalKeySlicegetNextElement()
    {
        if (.hasNext()) {
            Entry<SliceSlicenext = .next();
            return Maps.immutableEntry(new InternalKey(next.getKey()), next.getValue());
        }
        return null;
    }
    @Override
    public String toString()
    {
        final StringBuilder sb = new StringBuilder();
        sb.append("InternalTableIterator");
        sb.append("{fromIterator=").append();
        sb.append('}');
        return sb.toString();
    }
New to GrepCode? Check out our FAQ X