Tlv function ( Tlv arg0 ) { int loc0 = this . findOptionalParameter ( arg0 . getTag ( ) ) ; if ( loc0 < 0 ) { this . addOptionalParameter ( arg0 ) ; return null ; } else { return this . optionalParameters . set ( loc0 , arg0 ) ; } }
sets an optional parameter by checking if the tag already exists in our list of optional parameters . if it already exists , will replace the old value with the new value . concode_field_sep FastList<Tlv> optionalParameters concode_elem_sep String TLV concode_elem_sep XMLFormat<TlvSet> TLV_SET_XML concode_field_sep FastList<Tlv> getOptionalParameters concode_elem_sep void read concode_elem_sep Tlv removeOptionalParameter concode_elem_sep int getOptionalParameterCount concode_elem_sep Tlv getOptionalParameter concode_elem_sep String toString concode_elem_sep void clearAllOptionalParameter concode_elem_sep void addAllOptionalParameter concode_elem_sep void write concode_elem_sep int findOptionalParameter concode_elem_sep void addOptionalParameter concode_elem_sep boolean hasOptionalParameter