cache.java

来自「Python Development Environment (Python I」· Java 代码 · 共 25 行

JAVA
25
字号
package org.python.pydev.core.cache;



/**
 * Defines the interface for a cache
 */
public interface Cache<Key, Val> {

	/**
	 * This method returns the value for the given key. 
	 */
	public Val getObj(Key o);

	/**
	 * This method removes some key from the cache
	 */
	public void remove(Key key);

	/**
	 * Adds some value to the cache
	 */
	public void add(Key key, Val n);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?