jsci.chemistry
Class Element
- java.lang.Object
-
- jsci.chemistry.Element
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AlkaliEarthMetal, AlkaliMetal, Halogen, Metal, NobleGas, NonMetal, RareEarthMetal, TransitionMetal
public class Element extends java.lang.Object implements java.io.SerializableA class representing chemical elements. To obtain an instance of Element, use thePeriodicTable.getElementmethod.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Element(java.lang.String title, java.lang.String label)Constructs an element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object e)Compares two elements for equality.intgetAtomicNumber()Returns the atomic number.doublegetAtomicRadius()Returns the atomic radius.doublegetBoilingPoint()Returns the boiling point (K).doublegetCovalentRadius()Returns the covalent radius.doublegetDensity()Returns the density (293K).doublegetElectricalConductivity()Returns the electrical conductivity.doublegetElectronegativity()Returns the electronegativity.intgetMassNumber()Returns the mass number.doublegetMeltingPoint()Returns the melting point (K).java.lang.StringgetName()Returns the name.doublegetSpecificHeat()Returns the specific heat.doublegetThermalConductivity()Returns the thermal conductivity.inthashCode()java.lang.StringtoString()Returns the chemical symbol.
-
-
-
Constructor Detail
-
Element
public Element(java.lang.String title, java.lang.String label)Constructs an element.- Parameters:
title- name of element.label- symbol for element.
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name.
-
getAtomicNumber
public int getAtomicNumber()
Returns the atomic number.
-
getMassNumber
public int getMassNumber()
Returns the mass number.
-
getElectronegativity
public double getElectronegativity()
Returns the electronegativity.
-
getCovalentRadius
public double getCovalentRadius()
Returns the covalent radius.
-
getAtomicRadius
public double getAtomicRadius()
Returns the atomic radius.
-
getMeltingPoint
public double getMeltingPoint()
Returns the melting point (K).
-
getBoilingPoint
public double getBoilingPoint()
Returns the boiling point (K).
-
getDensity
public double getDensity()
Returns the density (293K).
-
getSpecificHeat
public double getSpecificHeat()
Returns the specific heat.
-
getElectricalConductivity
public double getElectricalConductivity()
Returns the electrical conductivity.
-
getThermalConductivity
public double getThermalConductivity()
Returns the thermal conductivity.
-
equals
public boolean equals(java.lang.Object e)
Compares two elements for equality.- Overrides:
equalsin classjava.lang.Object- Parameters:
e- an element.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Returns the chemical symbol.- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG