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, useBtreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarkCorruptedpublic PersistentStringEnumerator(java.nio.file.Path file)
throws java.io.IOException
java.io.IOExceptionpublic PersistentStringEnumerator(java.nio.file.Path file,
PagedFileStorage.StorageLockContext storageLockContext)
throws java.io.IOException
java.io.IOExceptionpublic PersistentStringEnumerator(java.nio.file.Path file,
boolean cacheLastMappings)
throws java.io.IOException
java.io.IOExceptionpublic PersistentStringEnumerator(java.nio.file.Path file,
int initialSize)
throws java.io.IOException
java.io.IOExceptionpublic PersistentStringEnumerator(java.nio.file.Path file,
int initialSize,
PagedFileStorage.StorageLockContext lockContext)
throws java.io.IOException
java.io.IOExceptionpublic 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.IOExceptionpublic 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.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class PersistentEnumeratorDelegate<java.lang.String>java.io.IOException