|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjabble.Constants
public class Constants
A helper class with a series of constants that might be useful during the calculation. To use the constants more easily, use the static import:
import static jabble.Constants.*;
...
double aValue = PLANCK * bValue;
| Field Summary | |
|---|---|
static double |
ELECTRON_CHARGE
Electron charge in C (1.60217646E-19). |
static double |
ELECTRON_MASS
Electron mass in Kg (9.10938188E-31). |
static double |
LIGHT_SPEED
Speed of light in m/s (299,792,458). |
static double |
PION_MASS
Electron mass in Kg (9.109534E-31). |
static double |
PLANCK
Plank constant (h-bar) in J*s (6.626068E-34 / (2.0 * PI)). |
static double |
VACUUM_PERMITTIVITY
Permittivity of vacuum (epsilon-0) in F/m (8.8541878176E-12) |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double PLANCK
public static final double ELECTRON_MASS
public static final double ELECTRON_CHARGE
public static final double PION_MASS
public static final double LIGHT_SPEED
public static final double VACUUM_PERMITTIVITY
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||