org.jscience.physics
Class RelativisticParticle

java.lang.Object
  extended by org.jscience.physics.Particle
      extended by org.jscience.physics.RelativisticParticle
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
QuantumParticle

public abstract class RelativisticParticle
extends Particle

The RelativisticParticle class provides an object for encapsulating relativistic particles.

See Also:
Serialized Form

Field Summary
 Rank1Tensor momentum
          Momentum 4-vector.
 Rank1Tensor position
          Position 4-vector.
 
Constructor Summary
RelativisticParticle()
          Constructs a relativistic particle.
 
Method Summary
 boolean equals(java.lang.Object p)
          Compares two particles for equality.
abstract  double restMass()
          Rest mass.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

public Rank1Tensor position
Position 4-vector.


momentum

public Rank1Tensor momentum
Momentum 4-vector.

Constructor Detail

RelativisticParticle

public RelativisticParticle()
Constructs a relativistic particle.

Method Detail

restMass

public abstract double restMass()
Rest mass.

Returns:
DOCUMENT ME!

equals

public boolean equals(java.lang.Object p)
Compares two particles for equality.

Overrides:
equals in class java.lang.Object
Parameters:
p - a relativistic particle
Returns:
DOCUMENT ME!