📄 cacheable.java
字号:
package snaq.util;
/**
* Interface for objects that can be referenced in a cache manager.
* @see snaq.util.CacheManager
* @author Giles Winstanley
*/
public interface Cacheable
{
/**
* Uniquely identifies the object in the cache.
*/
public Object getId();
/**
* Whether the item has expired.
*/
public boolean isExpired();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -