|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nnsoft.sameas4j.cache.CacheKey
public final class CacheKey
The Cache key representation.
| Constructor Summary | |
|---|---|
CacheKey(String service,
long lastModified)
Creates a new Cache key instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
long |
getLastModified()
Returns the sameas service "Last-modified" header. |
String |
getService()
Returns the sameas service. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CacheKey(String service,
long lastModified)
Cache key instance.
service - The sameas servicelastModified - The sameas service "Last-modified" header| Method Detail |
|---|
public String getService()
public long getLastModified()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||