String function ( String arg0 , String arg1 ) { int loc0 ; String loc1 = null ; if ( keys == null ) { convertInitPropsToVectors ( ) ; } loc0 = keys . indexOf ( arg0 ) ; if ( loc0 == - 1 ) { keys . addElement ( arg0 ) ; vals . addElement ( arg1 ) ; } else { loc1 = ( String ) vals . elementAt ( loc0 ) ; vals . setElementAt ( arg1 , loc0 ) ; } return loc1 ; }
store a single key : value pair . provided for parallelism with the getproperty method . enforces use of strings for property keys and values . if a key already exists in storage , the value corresponding to that key will be replaced and returned . concode_field_sep String[] initProps concode_elem_sep int INITIAL_SIZE concode_elem_sep Vector vals concode_elem_sep Vector keys concode_field_sep String getProperty concode_elem_sep String getPropertyIgnoreCase concode_elem_sep int size concode_elem_sep String getValueAt concode_elem_sep void convertInitPropsToVectors concode_elem_sep String setPropertyAt concode_elem_sep void addProperty concode_elem_sep String setPropertyIgnoreCase concode_elem_sep String getKeyAt concode_elem_sep String removeProperty