Package org.eclipse.net4j.util.io
Klasse SortedFileMap<K extends Comparable<K>,V>
java.lang.Object
org.eclipse.net4j.util.io.SortedFileMap<K,V>
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
- Bekannte direkte Unterklassen:
CachedFileMap
- Autor:
- Eike Stepper
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()longintgetFile()getKey(long index) abstract intlonggetPosition(long index) getValue(long index) longgetValuePosition(long index) abstract intprotected abstract Kprotected abstract Vprotected longprotected abstract voidwriteKey(ExtendedDataOutput out, K key) protected abstract voidwriteValue(ExtendedDataOutput out, V value)
-
Konstruktordetails
-
SortedFileMap
- Siehe auch:
-
-
Methodendetails
-
close
- Angegeben von:
closein SchnittstelleAutoCloseable- Angegeben von:
closein SchnittstelleCloseable- Löst aus:
IOException
-
getFile
-
getRandomAccessFile
-
getEntryCount
public long getEntryCount() -
getEntrySize
public int getEntrySize() -
getPosition
public long getPosition(long index) -
getValuePosition
public long getValuePosition(long index) -
getMaxKey
-
getKey
-
getValue
-
get
-
put
-
search
- Gibt zurück:
- The index of the entry with the given key if the key exists,
-(insertionIndex + 1)otherwise. - Löst aus:
IOException
-
getKeySize
public abstract int getKeySize() -
readKey
- Löst aus:
IOException
-
writeKey
- Löst aus:
IOException
-
getValueSize
public abstract int getValueSize() -
readValue
- Löst aus:
IOException
-
writeValue
- Löst aus:
IOException
-