com.threerings.util
Class ArrayKey
java.lang.Object
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. |
ArrayKey
public ArrayKey(Object... elements)
- Creates a new key with the supplied elements.
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.