org.siebengeisslein.collections
Class ArrayList<EntryType>
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.collections.AbstractCollection<EntryType>
org.siebengeisslein.collections.AbstractPersistentList<EntryType>
org.siebengeisslein.collections.ArrayList<EntryType>
- All Implemented Interfaces:
- java.lang.Iterable<EntryType>, java.util.Collection<EntryType>, java.util.List<EntryType>, java.util.RandomAccess, Instrumented
public class ArrayList<EntryType>
- extends AbstractPersistentList<EntryType>
- implements java.util.RandomAccess
| Methods inherited from class org.siebengeisslein.collections.AbstractPersistentList |
add, addAll, checkVersion, contains, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, subList |
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray |
ArrayList
public ArrayList()
ArrayList
public ArrayList(java.util.Collection<EntryType> types)
size
public int size()
- Specified by:
size in interface java.util.Collection<EntryType>- Specified by:
size in interface java.util.List<EntryType>
clear
public void clear()
- Specified by:
clear in interface java.util.Collection<EntryType>- Specified by:
clear in interface java.util.List<EntryType>- Overrides:
clear in class AbstractPersistentList<EntryType>
get
public EntryType get(int index)
- Specified by:
get in interface java.util.List<EntryType>
set
public EntryType set(int index,
EntryType element)
- Specified by:
set in interface java.util.List<EntryType>
add
public void add(int index,
EntryType element)
- Specified by:
add in interface java.util.List<EntryType>
remove
public EntryType remove(int index)
- Specified by:
remove in interface java.util.List<EntryType>