Class Element


  • public class Element
    extends Object
    One way to model the elements
    Author:
    pvtroshin
    • Constructor Detail

      • Element

        public Element()
      • Element

        public Element​(String name,
                       String symbol,
                       int atomicNumber,
                       List<Isotope> isotopes,
                       double mass)
    • Method Detail

      • setMass

        public void setMass​(double mass)
      • getMass

        public double getMass()
      • setName

        public void setName​(String name)
      • getName

        public String getName()
      • setSymbol

        public void setSymbol​(String symbol)
      • setAtomicNumber

        public void setAtomicNumber​(int atomicNumber)
      • setIsotopes

        public void setIsotopes​(List<Isotope> isotopes)