net.sf.molae.pipe.correct
Class CorrectList

java.lang.Object
  |
  +--net.sf.molae.pipe.basic.ObjectProxy
        |
        +--net.sf.molae.pipe.basic.CollectionProxy
              |
              +--net.sf.molae.pipe.basic.ListProxy
                    |
                    +--net.sf.molae.pipe.correct.CorrectList
All Implemented Interfaces:
Collection, List

public class CorrectList
extends ListProxy

Wrapper class to receive the correct exceptions from lists.


Constructor Summary
CorrectList(List base)
          Constructs a new exception safe list wrapper.
 
Method Summary
 Iterator iterator()
          Returns a CorrectIterator version of the base list's iterator.
 
Methods inherited from class net.sf.molae.pipe.basic.ListProxy
add, addAll, equals, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
 
Methods inherited from class net.sf.molae.pipe.basic.CollectionProxy
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class net.sf.molae.pipe.basic.ObjectProxy
assertNotNull, getBase, hashCode, toString, toVerboseString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

CorrectList

public CorrectList(List base)
Constructs a new exception safe list wrapper.
Parameters:
base - the underlying list.
Throws:
NullPointerException - if the specified object is null.
Method Detail

iterator

public Iterator iterator()
Returns a CorrectIterator version of the base list's iterator.
Overrides:
iterator in class CollectionProxy