com.threerings.util
Class ArrayKey

java.lang.Object
  extended by com.threerings.util.ArrayKey

public class ArrayKey
extends Object

A hash key that uses Arrays.deepHashCode(java.lang.Object[]) and Arrays.deepEquals(java.lang.Object[], java.lang.Object[]) to hash/compare an array of elements.


Constructor Summary
ArrayKey(Object... elements)
          Creates a new key with the supplied elements.
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayKey

public ArrayKey(Object... elements)
Creates a new key with the supplied elements.

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.