org.siebengeisslein.collections
Class AbstractPersistentList<EntryType>
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.collections.AbstractCollection<EntryType>
org.siebengeisslein.collections.AbstractPersistentList<EntryType>
- All Implemented Interfaces:
- java.lang.Iterable<EntryType>, java.util.Collection<EntryType>, java.util.List<EntryType>, Instrumented
- Direct Known Subclasses:
- AbstractPersistentList.SubList, ArrayList, ReadOnlyList, TreeList
public abstract class AbstractPersistentList<EntryType>
- extends AbstractCollection<EntryType>
- implements java.util.List<EntryType>
| 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 |
add, addAll, containsAll, get, isEmpty, remove, removeAll, retainAll, set, size, toArray, toArray |
AbstractPersistentList
protected AbstractPersistentList()
add
public boolean add(EntryType o)
- Specified by:
add in interface java.util.Collection<EntryType>- Specified by:
add in interface java.util.List<EntryType>
checkVersion
protected void checkVersion()
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains in interface java.util.Collection<EntryType>- Specified by:
contains in interface java.util.List<EntryType>
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf in interface java.util.List<EntryType>
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf in interface java.util.List<EntryType>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove in interface java.util.Collection<EntryType>- Specified by:
remove 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>
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in interface java.util.Collection<EntryType>- Specified by:
equals in interface java.util.List<EntryType>- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface java.util.Collection<EntryType>- Specified by:
hashCode in interface java.util.List<EntryType>- Overrides:
hashCode in class Persistent
addAll
public boolean addAll(int index,
java.util.Collection<? extends EntryType> c)
- Specified by:
addAll in interface java.util.List<EntryType>
iterator
public java.util.Iterator<EntryType> iterator()
- Specified by:
iterator in interface java.lang.Iterable<EntryType>- Specified by:
iterator in interface java.util.Collection<EntryType>- Specified by:
iterator in interface java.util.List<EntryType>
listIterator
public java.util.ListIterator<EntryType> listIterator()
- Specified by:
listIterator in interface java.util.List<EntryType>
listIterator
public java.util.ListIterator<EntryType> listIterator(int index)
- Specified by:
listIterator in interface java.util.List<EntryType>
subList
public java.util.List<EntryType> subList(int fromIndex,
int toIndex)
- Specified by:
subList in interface java.util.List<EntryType>