[The Java Posse] generic data types

2009-11-25 Thread Euvin
I am getting an error message in T last method. It has something to do with generic types and incompatability. Could someone explain what I am doing wrong? import java.util.Iterator; public class ArrayListT implements ListADTT, IterableT { protected final int DEFAULT_CAPACITY = 100;

Re: [The Java Posse] generic data types

2009-11-25 Thread Marcelo Fukushima
rear is an int and in your metho you declare it to throw T On Thu, Nov 26, 2009 at 1:27 AM, Euvin juan.eu...@gmail.com wrote: I am getting an error message in T last method. It has something to do with generic types and incompatability. Could someone explain what I am doing wrong? import