public void set ( int index , SoyData value ) { if ( index == list . size ( ) ) { list . add ( ensureValidValue ( value ) ) ; } else { list . set ( index , ensureValidValue ( value ) ) ; } }
Sets a data value at a given index .