KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public abstract class Meson extends Hadron {
11         /**
12         * Constructs a meson.
13         */

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

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

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