molecular-formula-parser

Simple molecular formula parser for Java

License

License

Categories

Categories

ORM Data
GroupId

GroupId

io.github.nomeyho
ArtifactId

ArtifactId

molecular-formula-parser
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

molecular-formula-parser
Simple molecular formula parser for Java
Project URL

Project URL

https://github.com/Nomeyho/molecular-parser
Project Organization

Project Organization

io.github.nomeyho
Source Code Management

Source Code Management

https://github.com/Nomeyho/molecular-formular-parser

Download molecular-formula-parser

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.nomeyho/molecular-formula-parser/ -->
<dependency>
    <groupId>io.github.nomeyho</groupId>
    <artifactId>molecular-formula-parser</artifactId>
    <version>1.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.nomeyho/molecular-formula-parser/
implementation 'io.github.nomeyho:molecular-formula-parser:1.0.3'
// https://jarcasting.com/artifacts/io.github.nomeyho/molecular-formula-parser/
implementation ("io.github.nomeyho:molecular-formula-parser:1.0.3")
'io.github.nomeyho:molecular-formula-parser:jar:1.0.3'
<dependency org="io.github.nomeyho" name="molecular-formula-parser" rev="1.0.3">
  <artifact name="molecular-formula-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.nomeyho', module='molecular-formula-parser', version='1.0.3')
)
libraryDependencies += "io.github.nomeyho" % "molecular-formula-parser" % "1.0.3"
[io.github.nomeyho/molecular-formula-parser "1.0.3"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

Molecular formula parser

Simple molecular formula parser for Java 8

Install

<dependency>
  <groupId>io.github.nomeyho</groupId>
  <artifactId>molecular-formula-parser</artifactId>
  <version>1.0.3</version>
</dependency>

Usage

FormulaParser parser = new FormulaParser("H20");
Map<Element, Integer> atoms = parser.parse();

atoms.get(Element.H); // 2
atoms.get(Element.0); // 1

Versions

Version
1.0.3