public class IntListAdapterextends AbstractListimplements ListAdapter that permits an
AbstractIntListto be viewed and treated as a JDK 1.2
AbstractList. Makes the contained list compatible with the JDK 1.2 Collections Framework.
Any attempt to pass elements other than java.lang.Number to setter methods will throw a java.lang.ClassCastException. java.lang.Number.intValue() is used to convert objects into primitive values which are then stored in the backing templated list. Getter methods return java.lang.Integer objects.