📄 store.java
字号:
package com.easyjf.cache.store;//~--- non-JDK imports --------------------------------------------------------import com.easyjf.cache.*;//~--- JDK imports ------------------------------------------------------------import java.io.*;import java.util.*;//~--- interfaces -------------------------------------------------------------/** * * <p> * Title: * </p> * * <p> * Description: * </p> * * <p> * Copyright: Copyright (c) 2006 * </p> * * <p> * Company: * </p> * * @author not attributable * @version 1.0 */public interface Store { /** * * @throws IOException */ void dispose() throws IOException; /** * * @param element * Element * @throws IOException */ void put(Element element) throws IOException; /** * * @param key * Object * @return Element * @throws IOException */ Element remove(Object key) throws IOException; /** * * @throws IOException */ void removeAll() throws IOException; /** * * @param value * Object * @return boolean * @throws IOException */ boolean removeElement(Object value) throws IOException; // ~--- get methods -------------------------------------------------------- /** * * @param key * Object * @return Element * @throws IOException */ Element get(Object key) throws IOException; /** * * @return Set */ Set getKeySet(); /** * * @return int */ int getSize(); /** * * @return int */ int getStatus();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -