public class PersistentStringEnumerator extends PersistentEnumeratorDelegate<java.lang.String> implements AbstractStringEnumerator
myEnumerator
Constructor and Description |
---|
PersistentStringEnumerator(java.nio.file.Path file) |
PersistentStringEnumerator(java.nio.file.Path file,
boolean cacheLastMappings) |
PersistentStringEnumerator(java.nio.file.Path file,
int initialSize) |
PersistentStringEnumerator(java.nio.file.Path file,
int initialSize,
PagedFileStorage.StorageLockContext lockContext) |
PersistentStringEnumerator(java.nio.file.Path file,
PagedFileStorage.StorageLockContext storageLockContext) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
enumerate(java.lang.String value) |
java.lang.String |
valueOf(int idx) |
force, getAllDataObjects, getVersion, isClosed, isCorrupted, isDirty, markCorrupted, markDirty, traverseAllRecords, tryEnumerate, useBtree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
markCorrupted
public PersistentStringEnumerator(java.nio.file.Path file) throws java.io.IOException
java.io.IOException
public PersistentStringEnumerator(java.nio.file.Path file, PagedFileStorage.StorageLockContext storageLockContext) throws java.io.IOException
java.io.IOException
public PersistentStringEnumerator(java.nio.file.Path file, boolean cacheLastMappings) throws java.io.IOException
java.io.IOException
public PersistentStringEnumerator(java.nio.file.Path file, int initialSize) throws java.io.IOException
java.io.IOException
public PersistentStringEnumerator(java.nio.file.Path file, int initialSize, PagedFileStorage.StorageLockContext lockContext) throws java.io.IOException
java.io.IOException
public int enumerate(java.lang.String value) throws java.io.IOException
enumerate
in interface DataEnumerator<java.lang.String>
enumerate
in class PersistentEnumeratorDelegate<java.lang.String>
java.io.IOException
public java.lang.String valueOf(int idx) throws java.io.IOException
valueOf
in interface DataEnumerator<java.lang.String>
valueOf
in class PersistentEnumeratorDelegate<java.lang.String>
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class PersistentEnumeratorDelegate<java.lang.String>
java.io.IOException