org.siebengeisslein.collections
Class AbstractCollection<Value>
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.collections.AbstractCollection<Value>
- All Implemented Interfaces:
- java.lang.Iterable<Value>, java.util.Collection<Value>, Instrumented
- Direct Known Subclasses:
- AbstractPersistentList, AbstractSet
public abstract class AbstractCollection<Value>
- extends Persistent
- implements java.util.Collection<Value>
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
add, clear, contains, equals, hashCode, iterator, remove, size |
AbstractCollection
public AbstractCollection()
AbstractCollection
public AbstractCollection(int version)
incVersion
protected void incVersion()
getVersion
protected int getVersion()
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface java.util.Collection<Value>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray in interface java.util.Collection<Value>
containsAll
public boolean containsAll(java.util.Collection<?> c)
- Specified by:
containsAll in interface java.util.Collection<Value>
addAll
public boolean addAll(java.util.Collection<? extends Value> c)
- Specified by:
addAll in interface java.util.Collection<Value>
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAll in interface java.util.Collection<Value>
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAll in interface java.util.Collection<Value>
toArray
public Value[] toArray()
- Specified by:
toArray in interface java.util.Collection<Value>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object