void function ( T arg0 , double arg1 ) { if ( results == null ) { results = new ArrayList < > ( ) ; } if ( resultDetails == null ) { resultDetails = new ArrayList < > ( ) ; } results . add ( arg0 ) ; resultDetails . add ( new ResultDetails < T > ( arg0 , arg1 ) ) ; }
adds the result . concode_field_sep T result concode_elem_sep double score concode_elem_sep List<ResultDetails<T>> resultDetails concode_elem_sep List<T> results concode_field_sep T getResult concode_elem_sep List<T> getResults concode_elem_sep void setResultDetails concode_elem_sep List<ResultDetails<T>> getResultDetails concode_elem_sep double getScore concode_elem_sep void setResults