KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public abstract class AntiLepton extends QuantumParticle {
11         /**
12         * Constructs an antilepton.
13         */

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

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

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

29         public final int strangeQN() {return 0;}
30         /**
31         * Returns the number of 1/2 units of isospin.
32         * @return 0
33         */

34         public final int isospin() {return 0;}
35         /**
36         * Returns the number of 1/2 units of the z-component of isospin.
37         * @return 0
38         */

39         public final int isospinZ() {return 0;}
40 }
41
42
Popular Tags