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