📄 identifiedcache.java
字号:
/** * Title: IdentifiedCache<p> * Description: uses the oid in cache as the primary key<p> * Copyright: Copyright (c) 2001 Paul Bethe and Richie Bielak<p> * @author Paul Bethe & Richie Bielak * @version 1.0 */package org.ephman.utils;import java.util.*;import org.ephman.abra.utils.*;public class IdentifiedCache extends RandomCache { public IdentifiedCache(int size) { super (size); } public Identified get (int oid) { return (Identified)super.get (new Integer (oid)); } public void put (Identified i) { super.put (new Integer (i.getOid ()), i); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -