org.neodatis.tool.wrappers.list
Class OdbArrayList<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<E>
              extended by org.neodatis.tool.wrappers.list.OdbArrayList<E>
Type Parameters:
E -
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, java.util.RandomAccess, IOdbList<E>
Direct Known Subclasses:
LazySimpleListFromOid, LazySimpleListOfAOI

public class OdbArrayList<E>
extends java.util.ArrayList<E>
implements IOdbList<E>

Author:
olivier
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
OdbArrayList()
           
OdbArrayList(int size)
           
 
Method Summary
 boolean addAll(java.util.Collection<? extends E> c)
           
 E get(int index)
           
 boolean removeAll(java.util.Collection<?> c)
           
 E set(int index, E o)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.neodatis.tool.wrappers.list.IOdbList
add, isEmpty
 
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, retainAll, size, subList, toArray, toArray
 

Constructor Detail

OdbArrayList

public OdbArrayList()

OdbArrayList

public OdbArrayList(int size)
Method Detail

addAll

public boolean addAll(java.util.Collection<? extends E> c)
Specified by:
addAll in interface java.util.Collection<E>
Specified by:
addAll in interface java.util.List<E>
Specified by:
addAll in interface IOdbList<E>
Overrides:
addAll in class java.util.ArrayList<E>

removeAll

public boolean removeAll(java.util.Collection<?> c)
Specified by:
removeAll in interface java.util.Collection<E>
Specified by:
removeAll in interface java.util.List<E>
Specified by:
removeAll in interface IOdbList<E>
Overrides:
removeAll in class java.util.AbstractCollection<E>

get

public E get(int index)
Specified by:
get in interface java.util.List<E>
Specified by:
get in interface IOdbList<E>
Overrides:
get in class java.util.ArrayList<E>

set

public E set(int index,
             E o)
Specified by:
set in interface java.util.List<E>
Specified by:
set in interface IOdbList<E>
Overrides:
set in class java.util.ArrayList<E>