|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object velosurf.cache.Cache.ArrayKey
public static final class Cache.ArrayKey
ArrayKey is a simple wrapper that provides a field-to-field equal method between encapsulated arrays.
Field Summary | |
---|---|
private java.lang.Object[] |
keys
The wrapped array. |
Constructor Summary | |
---|---|
Cache.ArrayKey(java.lang.Object[] keys)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object source)
Checks the cell-to-cell equality of two arrays. |
int |
hashCode()
Hashcode of an array, based on the hashcode of its members. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.Object[] keys
Constructor Detail |
---|
public Cache.ArrayKey(java.lang.Object[] keys)
keys
- key valuesMethod Detail |
---|
public boolean equals(java.lang.Object source)
equals
in class java.lang.Object
source
- source array
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |