public class CachedObject extends Object implements Comparable
Created by Jeff Gaynor
on Nov 11, 2010 at 1:02:39 PM
Constructor and Description |
---|
CachedObject() |
CachedObject(String key,
Object value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object obj) |
String |
getKey() |
long |
getTime() |
Date |
getTimestamp() |
Object |
getValue() |
void |
setKey(String key) |
void |
setTimestamp(Date timestamp) |
void |
setValue(Object value) |
public Object getValue()
public void setValue(Object value)
public void setKey(String key)
public String getKey()
public Date getTimestamp()
public long getTime()
public int compareTo(Object o)
compareTo
in interface Comparable
public void setTimestamp(Date timestamp)
Copyright © 2019. All Rights Reserved.