public class Entry<K,V> extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object object) |
int |
getAge() |
long |
getExpireTime() |
K |
getKey() |
long |
getLastReadTime() |
long |
getLastUsedTime() |
long |
getLastWriteTime() |
V |
getValue() |
int |
hashCode() |
void |
incrementAge() |
void |
incrementUseCount() |
boolean |
isExpired() |
void |
setExpireTime(long expireTime) |
void |
setKey(K key) |
void |
setValue(V value) |
public K getKey()
public void setKey(K key)
public V getValue()
public void setValue(V value)
public int getAge()
public void incrementAge()
public void incrementUseCount()
public void setExpireTime(long expireTime)
public boolean isExpired()
public long getLastUsedTime()
public long getLastReadTime()
public long getLastWriteTime()
public long getExpireTime()
Copyright © 2019. All rights reserved.