public void addoradjust(T label, float f) {

		int j = 0;
		for(; j < labels.size(); j++){
			T tagj = labels.get(j);
			if(tagj.equals(label)){
				break;
			}
		}
		if(j<labels.size()){
			float ts = scores.get(j);
			labels.remove(j);
			scores.remove(j);
			add(label,ts+f);
		}else{
			add(label,f);
		}

	}
public void addoradjust ( T label , float f ) { int j = 0 ; for ( ; j < labels . size ( ) ; j ++ ) { T tagj = labels . get ( j ) ; if ( tagj . equals ( label ) ) { break ; } } if ( j < labels . size ( ) ) { float ts = scores . get ( j ) ; labels . remove ( j ) ; scores . remove ( j ) ; add ( label , ts + f ) ; } else { add ( label , f ) ; } }
@param label
@param f