velosurf.cache
Class Cache.ArrayKey

java.lang.Object
  extended byvelosurf.cache.Cache.ArrayKey
Enclosing class:
Cache

public static class Cache.ArrayKey
extends java.lang.Object


Field Summary
protected  java.lang.Object[] mKeys
          the wrapped array
 
Constructor Summary
Cache.ArrayKey(java.lang.Object[] inKeys)
          ArrayKey is a simple wrapper that provides a field-to-field equal method between encapsulated arrays
 
Method Summary
 boolean equals(java.lang.Object inSource)
          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

mKeys

protected java.lang.Object[] mKeys
the wrapped array

Constructor Detail

Cache.ArrayKey

public Cache.ArrayKey(java.lang.Object[] inKeys)
ArrayKey is a simple wrapper that provides a field-to-field equal method between encapsulated arrays

Parameters:
inKeys - key values
Method Detail

equals

public boolean equals(java.lang.Object inSource)
checks the cell-to-cell equality of two arrays

Parameters:
inSource - source array
Returns:
a boolean indicating the equality

hashCode

public int hashCode()
hashcode of an array, based on the hashcode of its members

Returns:
the hashcode


ooOoo