11 lines
336 B
Java
11 lines
336 B
Java
|
package org.warp.jcwdb;
|
||
|
|
||
|
import java.io.IOException;
|
||
|
|
||
|
public interface IndexManager {
|
||
|
public <T> T get(long index, int type, DBReader<T> reader) throws IOException;
|
||
|
public <T> void set(long index, int type, DBWriter<T> writer) throws IOException;
|
||
|
public void delete(long index) throws IOException;
|
||
|
public boolean has(long index);
|
||
|
}
|