All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.classifiers.kstar.LightHashTable
java.lang.Object
|
+----weka.classifiers.kstar.LightHashTable
- public class LightHashTable
- extends Object
-
LightHashTable()
- Constructs a new hashtable with a default capacity and load factor.
-
clear()
- Clears this hashtable so that it contains no keys.
-
containsKey(double)
- Tests if the specified double is a key in this hashtable.
-
getEntry(double)
- Returns the table entry to which the specified key is mapped in
this hashtable.
-
insert(double, double, double)
- Inserts a new entry in the hashtable using the specified key.
-
isEmpty()
- Tests if this hashtable maps no keys to values.
-
size()
- Returns the number of keys in this hashtable.
LightHashTable
public LightHashTable()
- Constructs a new hashtable with a default capacity and load factor.
containsKey
public boolean containsKey(double key)
- Tests if the specified double is a key in this hashtable.
insert
public void insert(double key,
double value,
double pmiss)
- Inserts a new entry in the hashtable using the specified key.
If the key already exist in the hashtable, do nothing.
getEntry
public LightHashTable. TableEntry getEntry(double key)
- Returns the table entry to which the specified key is mapped in
this hashtable.
size
public int size()
- Returns the number of keys in this hashtable.
isEmpty
public boolean isEmpty()
- Tests if this hashtable maps no keys to values.
clear
public void clear()
- Clears this hashtable so that it contains no keys.
All Packages Class Hierarchy This Package Previous Next Index WEKA's home