org.hibernate.test.usercollection.basic
Class MyList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by org.hibernate.test.usercollection.basic.MyList
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess, IMyList

public class MyList
extends ArrayList
implements IMyList

A custom collection class. We extend a java.util.Collection class, but that is not required. It could be totally non-java-collection type, but then we would need to implement all the PersistentCollection methods.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
MyList()
           
 
Method Summary
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, 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, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

MyList

public MyList()


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.