org.ozoneDB.DxLib
Class DxDiskSubTable
java.lang.Object
|
+--org.ozoneDB.DxLib.DxDiskSubTable
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public final class DxDiskSubTable
- extends java.lang.Object
- implements java.io.Externalizable
- Author:
- SMB
, Medium.net
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeCount
public static int timeCount
DxDiskSubTable
public DxDiskSubTable(DxDiskHashMap grandParent)
DxDiskSubTable
public DxDiskSubTable(DxDiskHashMap _grandParent,
int _depth,
int _bitSize)
getFile
public java.io.File getFile()
table
public DxDiskHashNode[] table()
fetchedTable
public DxDiskHashNode[] fetchedTable()
throws java.lang.Exception
java.lang.Exception
empty
public void empty()
count
public int count()
deleteFile
public void deleteFile()
hashKey
public int hashKey(int key)
isLeaf
public boolean isLeaf()
isDirty
public boolean isDirty()
addForKey
public boolean addForKey(java.lang.Object obj,
java.lang.Object key)
throws java.lang.Exception
java.lang.Exception
elementForKey
public final java.lang.Object elementForKey(java.lang.Object key,
int hashCode)
throws java.lang.Exception
java.lang.Exception
removeForKey
public java.lang.Object removeForKey(java.lang.Object key)
throws java.lang.Exception
java.lang.Exception
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Schreibt nur die representation in einem HashNode aber
nicht die tabelle selber.
- Specified by:
writeExternal
in interface java.io.Externalizable
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
writeTable
public void writeTable()
throws java.io.IOException
- Schreibt den inhalt der ganzen tabelle aber nicht die
sub-tabellen. Der name wird aus dem baseFileName und
java.io.IOException
readTable
public void readTable()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.