org.oddjob.arooa.utils
Class ListSetterHelper<E>

java.lang.Object
  extended by 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

Constructor Summary
ListSetterHelper(List<E> list)
           
 
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
 

Constructor Detail

ListSetterHelper

public ListSetterHelper(List<E> list)
Method Detail

set

public void set(int index,
                E element)