org.egothor.util.hash
Class HashString

java.lang.Object
  extended by org.egothor.util.hash.HashString

Deprecated.

@Deprecated
public class HashString
extends java.lang.Object


Constructor Summary
HashString(java.lang.String filename, long capacity)
          Deprecated.  
 
Method Summary
 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(java.lang.String[] argv)
          Deprecated.  
 long put(java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashString

public HashString(java.lang.String filename,
                  long capacity)
           throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

size

public long size()
Deprecated. 
This access method is not synchronized, it is for information only.


capacity

public long capacity()
Deprecated. 
This access method is not synchronized, it is for information only.


delete

public void delete()
            throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getEfficiencyFactor

public double getEfficiencyFactor()
Deprecated. 

close

public void close()
Deprecated. 

put

public long put(java.lang.String str)
         throws java.io.IOException
Deprecated. 
Puts the string onto the hash table and returns its unique ID.

Returns:
returns ID (long integer>0)
Throws:
java.io.IOException

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Throwable
Deprecated. 
Throws:
java.lang.Throwable