increment the weight for the given token in the vector by the given amount . concode_field_sep double m_length concode_elem_sep HashMap hashMap concode_field_sep void add concode_elem_sep double getWeight concode_elem_sep void subtract concode_elem_sep void clear concode_elem_sep double length concode_elem_sep double maxWeight concode_elem_sep void addScaled concode_elem_sep Iterator iterator concode_elem_sep void print concode_elem_sep int size concode_elem_sep double cosineTo concode_elem_sep double cosineTo concode_elem_sep String toString concode_elem_sep HashMapVector copy concode_elem_sep void multiply concode_elem_sep void initLength
double function ( String arg0 , double arg1 ) { Weight loc0 = ( Weight ) hashMap . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new Weight ( ) ; hashMap . put ( arg0 , loc0 ) ; } loc0 . increment ( arg1 ) ; return loc0 . getValue ( ) ; }