Mercurial > hg > RemoteEditor > REPSessionManager
view rep/EditorList.java @ 376:c4ffdac26132
*** empty log message ***
author | kono |
---|---|
date | Wed, 22 Oct 2008 03:19:57 +0900 |
parents | 65c6d12a5835 |
children | 4b87f89b3afd |
line wrap: on
line source
package rep; import java.util.HashMap; public class EditorList extends HashMap<Integer,Editor> { /** * */ private static final long serialVersionUID = 1L; private int eid_root=0; public void add(Editor fw) { put(fw.getEID(),fw); } public int newEid() { return ++eid_root; } public boolean hasEid(int eid) { return containsKey(eid); } }