org.jvnet.substance.utils
Class HashMapKey

java.lang.Object
  extended by org.jvnet.substance.utils.HashMapKey

public class HashMapKey
extends java.lang.Object

Implementation of a key for the LazyResettableHashMap.

Author:
Kirill Grouchnikov

Constructor Summary
HashMapKey(java.lang.Object... fields)
          Creates a new key object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashMapKey

public HashMapKey(java.lang.Object... fields)
Creates a new key object.

Parameters:
fields - Fields of the key object.
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object