package indexableIndex;

public interface Indexable <ComponentType>{
	/*returns an int  indicating the number of valid indices that may be accessed.*/
	
	public int length();
	/* takes an int for an index (zero-based) and returns the 
	 * object of ComponentType at that index. The function should 
	 * throw an IndexOutOfBoundsException if the index is greater 
	 * than length()
	 */
	public ComponentType get (int i)
		throws IndexOutOfBoundsException;
	

}
