org.siebengeisslein.collections
Class ReadOnlyList<EntryType>

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.collections.AbstractCollection<EntryType>
          extended by org.siebengeisslein.collections.AbstractPersistentList<EntryType>
              extended by org.siebengeisslein.collections.ReadOnlyList<EntryType>
All Implemented Interfaces:
java.lang.Iterable<EntryType>, java.util.Collection<EntryType>, java.util.List<EntryType>, Instrumented

public class ReadOnlyList<EntryType>
extends AbstractPersistentList<EntryType>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.siebengeisslein.collections.AbstractPersistentList
AbstractPersistentList.ArrayIterator, AbstractPersistentList.ArrayListIterator, AbstractPersistentList.SubList<T>
 
Constructor Summary
ReadOnlyList(java.util.List<EntryType> delegate)
           
 
Method Summary
 void add(int index, EntryType value)
           
 EntryType get(int index)
           
 EntryType remove(int index)
           
 EntryType set(int index, EntryType value)
           
 int size()
           
 
Methods inherited from class org.siebengeisslein.collections.AbstractPersistentList
add, addAll, checkVersion, clear, contains, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, subList
 
Methods inherited from class org.siebengeisslein.collections.AbstractCollection
addAll, containsAll, getVersion, incVersion, isEmpty, removeAll, retainAll, toArray, toArray, toString
 
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
 

Constructor Detail

ReadOnlyList

public ReadOnlyList(java.util.List<EntryType> delegate)
Method Detail

size

public int size()

get

public EntryType get(int index)

set

public EntryType set(int index,
                     EntryType value)

add

public void add(int index,
                EntryType value)

remove

public EntryType remove(int index)