static int compareParameterTypes(Class[] left,Class[] right,Class[] actual){
  float leftCost=getTotalTransformationCost(actual,left);
  float rightCost=getTotalTransformationCost(actual,right);
  return leftCost < rightCost ? -1 : rightCost < leftCost ? 1 : 0;
}

static int compareParameterTypes ( Class [ ] left , Class [ ] right , Class [ ] actual ) { float leftCost = getTotalTransformationCost ( actual , left ) ; float rightCost = getTotalTransformationCost ( actual , right ) ; return leftCost < rightCost ? - 1 : rightCost < leftCost ? 1 : 0 ; }
compare the relative fitness of two sets of parameter types in terms of matching a third set of runtime parameter types , such that a list ordered by the results of the comparison would return the best match first ( least ) .
