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. |
| 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 interface java.util.List |
add, addAll, clear, contains, containsAll, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
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.
iterator
public Iterator iterator()
- Returns a
CorrectIterator version of the base list's iterator.
- Overrides:
iterator in class CollectionProxy