for (int i = 0; i < fromTypes.length; i++) {
Class fromType = fromTypes[i];
if (!fromType.equals(Float.class) && !fromType.equals(Float.TYPE)) {
String fromName = (fromType.isPrimitive()) ? getKeyForClass(fromType, null) : fromType.getName();
map.put(new Pair(fromName, FLOAT_TYPE), new NumberToFloatConverter(numberFormat, fromType, true));
map.put(new Pair(fromName, Float.class.getName()), new NumberToFloatConverter(numberFormat, fromType, false));
}
}
}