KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public abstract class Baryon extends Hadron {
11         /**
12         * Constructs a baryon.
13         */

14         public Baryon() {}
15         /**
16         * Returns the baryon number.
17         * @return 1
18         */

19         public final int baryonQN() {return 1;}
20 }
21
22
Popular Tags