if (result != null) {
return result.floatValue();
} else if (defaults != null) {
return defaults.getSub(type, type).getFloat(keys);
} else {
throw new SimContextException("no default float value found for keys" + Arrays.asList(keys) + " in type["
+ type + "]");
}
}