org.oddjob.arooa.utils
Class ListSetterHelper<E>
java.lang.Object
org.oddjob.arooa.utils.ListSetterHelper<E>
public class ListSetterHelper<E>
- extends Object
Helps with Setting a list. Tries to deal with nulls and throws a
more helpful exception than the otherwise thrown
IndexOutOfBoundsException
.
- Author:
- rob
Method Summary |
void |
set(int index,
E element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListSetterHelper
public ListSetterHelper(List<E> list)
set
public void set(int index,
E element)