Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.statcato.utils
Class MultidimensionalHashKey

    java.lang.Object
      org.statcato.utils.MultidimensionalHashKey

    public class MultidimensionalHashKey

extends java.lang.Object

An object that represents a key into a hash of multiple dimensions.

Since:
  1.0
Version:
  %I%, %G%
Author:
  Margaret Yau

Constructor Summary
`MultidimensionalHashKey(java.util.Vector values)` Constructor.

Method Summary
`boolean` | `equals(java.lang.Object o)`
`java.lang.Object` | `getKey(int d)` Returns the key value of the given dimension.
`int` | `getNumDimensions()` Returns the number of dimensions in this hash key.
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MultidimensionalHashKey

    public MultidimensionalHashKey(java.util.Vector values)

  Constructor.

  Parameters:
    `values` - a list of key values

Method Detail

### getNumDimensions

    public int getNumDimensions()

  Returns the number of dimensions in this hash key.

  Returns:
    number of dimensions

### getKey

    public java.lang.Object getKey(int d)

  Returns the key value of the given dimension.

  Parameters:
    `d` - the dimension
  Returns:

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

### equals

    public boolean equals(java.lang.Object o)

  Overrides:
    `equals` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD