public class DefaultGeneratedCacheKey extends Object implements javax.cache.annotation.GeneratedCacheKey
Arrays.deepHashCode(Object[]) to
implement hashCode() and Arrays.deepEquals(Object[], Object[]) to implement
equals(Object)
IMPORTANT: This implementation assumes that the entire object graph passed in as the parameters Object[]
is immutable. The value returned by hashCode() is calculated in the constructor.
| Constructor and Description |
|---|
DefaultGeneratedCacheKey(Object[] parameters)
Constructs a default cache key
|
public DefaultGeneratedCacheKey(Object[] parameters)
parameters - the paramters to useCopyright © 2019. All rights reserved.