Package org.sbml.jsbml.util.compilers

Examples of org.sbml.jsbml.util.compilers.UnitsCompiler


    int version = -1;
    if (container != null) {
      level = container.getLevel();
      version = container.getVersion();
    }
    UnitsCompiler compiler = null;
    if (isSetParentSBMLObject()) {
      Model model = getParentSBMLObject().getModel();
      compiler = new UnitsCompiler(model);
    }
    if (compiler == null) {
      compiler = new UnitsCompiler(level, version);
    }
    return compile(compiler).getUnits().simplify();
  }
View Full Code Here


    int version = -1;
    if (container != null) {
      level = container.getLevel();
      version = container.getVersion();
    }
    return compile(new UnitsCompiler(level, version)).getUnits().simplify();
  }
View Full Code Here

    int version = -1;
    if (container != null) {
      level = container.getLevel();
      version = container.getVersion();
    }
    return compile(new UnitsCompiler(level, version)).getUnits().simplify();
  }
View Full Code Here

TOP

Related Classes of org.sbml.jsbml.util.compilers.UnitsCompiler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.