jsci.chemistry
Class Element

java.lang.Object
  extended by jsci.chemistry.Element
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlkaliEarthMetal, AlkaliMetal, Halogen, Metal, NobleGas, NonMetal, RareEarthMetal, TransitionMetal

public class Element
extends Object
implements Serializable

A class representing chemical elements. To obtain an instance of Element, use the PeriodicTable.getElement method.

See Also:
Serialized Form

Constructor Summary
Element(String title, String label)
          Constructs an element.
 
Method Summary
 boolean equals(Object e)
          Compares two elements for equality.
 int getAtomicNumber()
          Returns the atomic number.
 double getAtomicRadius()
          Returns the atomic radius.
 double getBoilingPoint()
          Returns the boiling point (K).
 double getCovalentRadius()
          Returns the covalent radius.
 double getDensity()
          Returns the density (293K).
 double getElectricalConductivity()
          Returns the electrical conductivity.
 double getElectronegativity()
          Returns the electronegativity.
 int getMassNumber()
          Returns the mass number.
 double getMeltingPoint()
          Returns the melting point (K).
 String getName()
          Returns the name.
 double getSpecificHeat()
          Returns the specific heat.
 double getThermalConductivity()
          Returns the thermal conductivity.
 int hashCode()
           
 String toString()
          Returns the chemical symbol.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Element

public Element(String title,
               String label)
Constructs an element.

Parameters:
title - name of element.
label - symbol for element.
Method Detail

getName

public 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(Object e)
Compares two elements for equality.

Overrides:
equals in class Object
Parameters:
e - an element.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Returns the chemical symbol.

Overrides:
toString in class Object


jHepWork 3.1 ©