final class CacheKey
extends Object
- Since:
- 0.8
- Version:
- 0.8
-
Field Summary
Fields
The primary key for the entry in the table.
The metadata interface to be implemented.
-
Constructor Summary
Constructors
-
Method Summary
boolean
Compares the given object with this key for equality.
int
Returns a hash code for this key.
-
Field Details
-
type
private final Class<?> type
The metadata interface to be implemented.
-
identifier
private final String identifier
The primary key for the entry in the table.
-
Constructor Details
-
CacheKey
Creates a new key.
-
Method Details
-
equals
public boolean equals(Object other)
Compares the given object with this key for equality.
- Overrides:
equals
in class Object
-
hashCode
public int hashCode()
Returns a hash code for this key.
- Overrides:
hashCode
in class Object