|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.chemistry.Element
public class Element
A class representing chemical elements.
To obtain an instance of Element, use the PeriodicTable.getElement
method.
Constructor Summary | |
---|---|
Element(java.lang.String title,
java.lang.String label)
Constructs an element. |
Method Summary | |
---|---|
boolean |
equals(java.lang.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). |
java.lang.String |
getName()
Returns the name. |
double |
getSpecificHeat()
Returns the specific heat. |
double |
getThermalConductivity()
Returns the thermal conductivity. |
int |
hashCode()
|
protected void |
setAtomicNumber(int z)
|
protected void |
setAtomicRadius(double atomRadius)
|
protected void |
setBoilingPoint(double boil)
|
protected void |
setCovalentRadius(double covRadius)
|
protected void |
setDensity(double rho)
|
protected void |
setElectricalConductivity(double elect)
|
protected void |
setElectronegativity(double en)
|
protected void |
setMassNumber(int m)
|
protected void |
setMeltingPoint(double melt)
|
protected void |
setSpecificHeat(double heat)
|
protected void |
setThermalConductivity(double therm)
|
java.lang.String |
toString()
Returns the chemical symbol. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Element(java.lang.String title, java.lang.String label)
title
- name of element.label
- symbol for element.Method Detail |
---|
public java.lang.String getName()
public int getAtomicNumber()
protected void setAtomicNumber(int z)
public int getMassNumber()
protected void setMassNumber(int m)
public double getElectronegativity()
protected void setElectronegativity(double en)
public double getCovalentRadius()
protected void setCovalentRadius(double covRadius)
public double getAtomicRadius()
protected void setAtomicRadius(double atomRadius)
public double getMeltingPoint()
protected void setMeltingPoint(double melt)
public double getBoilingPoint()
protected void setBoilingPoint(double boil)
public double getDensity()
protected void setDensity(double rho)
public double getSpecificHeat()
protected void setSpecificHeat(double heat)
public double getElectricalConductivity()
protected void setElectricalConductivity(double elect)
public double getThermalConductivity()
protected void setThermalConductivity(double therm)
public boolean equals(java.lang.Object e)
equals
in class java.lang.Object
e
- an element.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |