KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > physics > particles > Hadron


1 package JSci.physics.particles;
2
3 import JSci.physics.quantum.QuantumParticle;
4
5 /**
6 * A class representing hadrons.
7 * @version 1.5
8 * @author Mark Hale
9 */

10 public abstract class Hadron extends QuantumParticle {
11         /**
12         * Constructs a hadron.
13         */

14         public Hadron() {}
15         /**
16         * Returns the electron lepton number.
17         * @return 0
18         */

19         public final int eLeptonQN() {return 0;}
20         /**
21         * Returns the muon lepton number.
22         * @return 0
23         */

24         public final int muLeptonQN() {return 0;}
25         /**
26         * Returns the tau lepton number.
27         * @return 0
28         */

29         public final int tauLeptonQN() {return 0;}
30 }
31
32
Popular Tags