Method Summary |
|
public synchronized boolean | addForKey(Object obj, Object key) |
public void | cleanFiles() Delete all the files used by this hashtable. |
public synchronized void | clear() |
public Object | clone() |
public synchronized void | close() Close this hash map. |
public boolean | containsKey(Object key) |
public int | count() |
public synchronized void | deleteRequest(DxDiskSubTable subTable) The specified sub-table was deleted from the tree. |
protected synchronized void | elementDone(DxDiskHashCompatible obj) |
public synchronized Object | elementForKey(Object key) Gives the element for the specified key.
Note: This method is synchronized because the cache of subtables may
change. |
public File | getFileForFilename(String filename) Computes a File object which represents the DxDiskSubTable file denoted by the given filename.
There are two formats for the given filename:
-
The long format is a pathname relative to the current working directory of the
Java application which wrote the table referring the DxDiskSubTable in question.
It may also be an absolute pathname.
|
public boolean | isDirtyTable(DxDiskSubTable table) |
public boolean | isEmpty() |
public DxIterator | iterator() |
public Object | keyForElement(Object obj) |
public DxKeyData | newKeyData() |
public DxDiskHashNodeBranch | newNodeBranch() |
public DxDiskHashNodeLeaf | newNodeLeaf() |
public synchronized File | newSubTableFile() This method is synchronized because sub table filenames have to be unique. |
public void | printStatistics() |
public synchronized void | re_use() Reuse an existing table from disk. |
protected synchronized void | readRequest(DxDiskSubTable subTable) Eine sub-tabelle will nachladen. |
public synchronized boolean | remove(Object obj) |
public synchronized Object | removeForKey(Object key) |
public DxDiskSubTable | rootTable() |
public void | setReusable(boolean flag) |
public synchronized void | writeAllTables() |