view rep/EditorList.java @ 364:c965ef2b5fd6

*** empty log message ***
author kono
date Mon, 20 Oct 2008 13:44:34 +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);
	}


}