public void renameAttributeValue(Attribute att,String val,String name){
  int v=att.indexOfValue(val);
  if (v == -1) {
    throw new IllegalArgumentException(val + " not found");
  }
  renameAttributeValue(att.index(),v,name);
}

public void renameAttributeValue ( Attribute att , String val , String name ) { int v = att . indexOfValue ( val ) ; if ( v == - 1 ) { throw new IllegalArgumentException ( val + " not found" ) ; } renameAttributeValue ( att . index ( ) , v , name ) ; }
renames the value of a nominal ( or string ) attribute value . this change only affects this dataset .
