KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > yan > element > ElementStore


1 package jfun.yan.element;
2
3 import jfun.yan.StoreBinder;
4
5 /**
6  * Represents anything that will receive component instances
7  * created by {@link StoreBinder}.
8  * <p>
9  * @author Ben Yu
10  * Nov 12, 2005 2:09:11 PM
11  */

12 public interface ElementStore<T> {
13   /**
14    * Store an element.
15    * @param ind the element index.
16    * @param obj the element value.
17    */

18   void storeElement(int ind, T obj);
19   /**
20    * Checks the type of an element.
21    * @param ind the element index.
22    * @param type the element type.
23    */

24   //void checkElement(int ind, Class type);
25
}
26
Popular Tags