org.inria.ns.reflex.util
Class DynamicList.Completed

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by org.inria.ns.reflex.util.DynamicList.Completed
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess, DynamicList
Enclosing interface:
DynamicList

public static class DynamicList.Completed
extends ArrayList
implements DynamicList

A completed dynamic list, that is to say a list that prevent singletons from unwrapping.

Author:
Philippe Poulard
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.util.DynamicList
DynamicList.AbstractCompleted, DynamicList.Completed, DynamicList.Impl
 
Constructor Summary
DynamicList.Completed()
           
 
Method Summary
 boolean completed()
          This implementation returns true.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, 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
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

DynamicList.Completed

public DynamicList.Completed()
Method Detail

completed

public boolean completed()
This implementation returns true.

Specified by:
completed in interface DynamicList
Returns:
true
See Also:
DynamicList.completed()