org.jmlspecs.jml4.rac.runtime
Class JMLOldExpressionCache.Key
java.lang.Object
org.jmlspecs.jml4.rac.runtime.JMLOldExpressionCache.Key
- Enclosing class:
- JMLOldExpressionCache
public static class JMLOldExpressionCache.Key
- extends java.lang.Object
A class for representing keys for cache objects. We use arrays for
keys, but we treat two arrays equal if both have the same elements.
Field Summary |
java.lang.Object[] |
values
|
Method Summary |
boolean |
equals(java.lang.Object obj)
Does the argument equal to this key object? |
int |
hashCode()
Returns the hash code for this key object. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
values
public java.lang.Object[] values
JMLOldExpressionCache.Key
public JMLOldExpressionCache.Key(java.lang.Object[] values)
- Constructs a new key object from an array.
equals
public boolean equals(java.lang.Object obj)
- Does the argument equal to this key object?
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Returns the hash code for this key object.
- Overrides:
hashCode
in class java.lang.Object