public enum CommonDimensionlessUnit extends java.lang.Enum<CommonDimensionlessUnit> implements DimensionlessUnit
| Enum Constant and Description |
|---|
kA
Fine-structure constant, the coupling constant for the electromagnetic force.
|
mol
The mole is a unit which measures the number of particles in a substance.
|
phi
Phi is the ratio: A/B = B/C where A = B + C
|
pi
Pi is the ratio: Circumference/Diameter.
|
| Modifier and Type | Method and Description |
|---|---|
Rational |
getAmount() |
java.lang.String |
getUnitName() |
java.lang.String |
getUnitSymbol() |
static CommonDimensionlessUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommonDimensionlessUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfemptyArray, getClass, jailbreak, notify, notifyAll, wait, wait, waitpostfixBind, postfixBind, postfixBind, postfixBind, postfixBind, postfixBind, postfixBind, postfixBindpublic static final CommonDimensionlessUnit pi
public static final CommonDimensionlessUnit phi
public static final CommonDimensionlessUnit kA
public static final CommonDimensionlessUnit mol
public static CommonDimensionlessUnit[] values()
for (CommonDimensionlessUnit c : CommonDimensionlessUnit.values()) System.out.println(c);
public static CommonDimensionlessUnit valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic Rational getAmount()
getAmount in interface DimensionlessUnitpublic java.lang.String getUnitName()
getUnitName in interface DimensionlessUnitpublic java.lang.String getUnitSymbol()
getUnitSymbol in interface DimensionlessUnitCopyright © 2024. All rights reserved.