public String set ( final int i , final String value ) { final ConfigBlock block = this . blocks . get ( i ) ; if ( block instanceof ConfigItem ) { final ConfigItem item = ( ConfigItem ) block ; final String previousValue = item . getValue ( ) ; item . setValue ( value ) ; return previousValue ; } return null ; }
Set a value for an item at a given index