public class AtomImpl extends Object implements Serializable
| Constructor and Description |
|---|
AtomImpl(Atom atom,
Integer isotope)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Atom |
getAtom()
Returns the atom.
|
Integer |
getIsotope()
Returns the isotope, 0 for monoisotope.
|
Double |
getMass()
Returns the mass of the atom.
|
boolean |
isSameAs(AtomImpl anotherAtom)
Indicates whether another atom is the same as this one.
|
String |
toString() |
public Double getMass()
public boolean isSameAs(AtomImpl anotherAtom)
anotherAtom - another atom of interestpublic Atom getAtom()
public Integer getIsotope()
Copyright © 2016. All rights reserved.