|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.statcato.utils.MultidimensionalHash
public class MultidimensionalHash
A multidimensional hash that contains the frequencies of multidimensional keys.
| Constructor Summary | |
|---|---|
MultidimensionalHash(int dimensions)
Constructor. |
|
| Method Summary | |
|---|---|
int |
get(MultidimensionalHashKey key)
Returns the frequency of the given key value. |
int |
getDimensions()
Returns the number of dimensions in the hash. |
void |
put(MultidimensionalHashKey key)
Increases the frequency of the given key value by one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultidimensionalHash(int dimensions)
dimensions - the number of dimensions| Method Detail |
|---|
public void put(MultidimensionalHashKey key)
key - a multidimensional hashkeypublic int get(MultidimensionalHashKey key)
key - a multidimensional hashkey
public int getDimensions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||