public static int stringToKind(String name) { Integer kind = sbmlUnitKinds.get(name); return (kind == null) ? libsbmlConstants.UNIT_KIND_INVALID : kind.intValue(); }
// SBML kind/String lookups public static String kindToString(int kind) { return sbmlUnitNames.get(new Integer(kind)); }