net.walend.collection
Class ArrayList

java.lang.Object
  |
  +--net.walend.collection.AbstractArrayList
        |
        +--net.walend.collection.ArrayList
All Implemented Interfaces:
Collection, HasState, Immutable, List

public final class ArrayList
extends AbstractArrayList
implements Immutable

This implementation of List is built on top of an array.

Since:
20010909
Author:
David Walend

Nested Class Summary
 
Nested classes inherited from class net.walend.collection.AbstractArrayList
AbstractArrayList.ListItr
 
Field Summary
 
Fields inherited from class net.walend.collection.AbstractArrayList
modCount
 
Fields inherited from interface net.walend.collection.List
EMPTY
 
Constructor Summary
ArrayList(Collection collection)
           
ArrayList(java.util.Collection collection)
           
 
Method Summary
 java.util.Iterator iterator()
          Returns an iterator over the Objects in this collection.
 
Methods inherited from class net.walend.collection.AbstractArrayList
add, add, addAll, addAll, checkRange, checkRangeForAdd, clear, contains, containsAll, ensureCapacity, get, getIdentitor, getJavaCollection, getJavaList, getPrincipleInterface, indexOf, indexOfSubList, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, sameContentsAs, sameListAs, sameStateAs, set, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayList

public ArrayList(Collection collection)

ArrayList

public ArrayList(java.util.Collection collection)
Method Detail

iterator

public java.util.Iterator iterator()
Description copied from class: AbstractArrayList
Returns an iterator over the Objects in this collection.

Specified by:
iterator in interface Collection
Overrides:
iterator in class AbstractArrayList


Copyright (c) 2000, 2001, David Walend