Class JSci.physics.particles.Up
All Packages Class Hierarchy This Package Previous Next Index
Class JSci.physics.particles.Up
java.lang.Object
|
+----JSci.physics.Particle
|
+----JSci.physics.quantum.QuantumParticle
|
+----JSci.physics.particles.Quark
|
+----JSci.physics.particles.Up
- public final class Up
- extends Quark
A class representing ups.
-
Up()
- Constructs an up.
-
anti()
- Returns the antiparticle of this particle.
-
charge()
- Returns the number of 1/3 units of electric charge.
-
isAnti(QuantumParticle)
- Returns true if qp is the antiparticle.
-
restMass()
- Returns the rest mass (MeV).
-
strangeQN()
- Returns the strangeness number.
-
toString()
- Returns a string representing this class.
Up
public Up()
- Constructs an up.
restMass
public double restMass()
- Returns the rest mass (MeV).
- Returns:
- 5.0
- Overrides:
- restMass in class Particle
charge
public int charge()
- Returns the number of 1/3 units of electric charge.
- Returns:
- 2
- Overrides:
- charge in class QuantumParticle
strangeQN
public int strangeQN()
- Returns the strangeness number.
- Returns:
- 0
- Overrides:
- strangeQN in class QuantumParticle
anti
public QuantumParticle anti()
- Returns the antiparticle of this particle.
- Overrides:
- anti in class QuantumParticle
isAnti
public boolean isAnti(QuantumParticle qp)
- Returns true if qp is the antiparticle.
- Overrides:
- isAnti in class QuantumParticle
toString
public String toString()
- Returns a string representing this class.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index