KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public abstract class Pion extends Meson {
11         /**
12         * Constructs a pion.
13         */

14         public Pion() {}
15         /**
16         * Returns the number of 1/2 units of isospin.
17         * @return 2
18         */

19         public final int isospin() {return 2;}
20         /**
21         * Returns the strangeness number.
22         * @return 0
23         */

24         public final int strangeQN() {return 0;}
25 }
26
27
Popular Tags