@Deprecated public class HashString extends Object
| Constructor and Description |
|---|
HashString(String filename,
long capacity)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
capacity()
Deprecated.
This access method is not synchronized, it is for information only.
|
void |
close()
Deprecated.
|
void |
delete()
Deprecated.
|
double |
getEfficiencyFactor()
Deprecated.
|
static void |
main(String[] argv)
Deprecated.
|
long |
put(String str)
Deprecated.
Puts the string onto the hash table and returns its unique ID.
|
long |
size()
Deprecated.
This access method is not synchronized, it is for information only.
|
public HashString(String filename, long capacity) throws IOException
filename - capacity - IOExceptionpublic long size()
public long capacity()
public void delete()
throws IOException
IOExceptionpublic double getEfficiencyFactor()
public void close()
public long put(String str) throws IOException
IOExceptionCopyright © 2016 Egothor. All Rights Reserved.