public double getProbability(AssetStateDimension assetState, StateValue stateValue, StateValue diagnosisStateValue) {
public double getProbability(AssetStateDimension assetStateDim, AssetState stateValue, AssetState diagnosisStateValue) {
     public double getProbability(AssetStateDimension assetState, StateValue stateValue, StateValue diagnosisStateValue) {                   Iterator iter = diagnoses.iterator();          while (iter.hasNext()) {              DiagnosisAccuracyFunction daf = (DiagnosisAccuracyFunction) iter.next();              if (daf.getAssetState().equals(assetState) && daf.getAssetStateValue().equals(stateValue) &&                  daf.getDiagnosisStateValue().equals(diagnosisStateValue))                     return daf.getProbability();          }          return 0; // 0 probability     }