1 package jfun.yan.element; 2 3 /** 4 * Represents a piece of logic that checks the type of each element 5 * in a collection/array/map. 6 * <p> 7 * @author Ben Yu 8 * Nov 13, 2005 7:29:44 PM 9 */ 10 public interface ElementChecker { 11 /** 12 * Checks the ordinal position and type. 13 * @param ind the ordinal position of the element. 14 * @param type the type. 15 */ 16 void checkElement(int ind, Class type); 17 } 18