Package org.seamcat.model.types
Enum Unit
- java.lang.Object
-
- java.lang.Enum<Unit>
-
- org.seamcat.model.types.Unit
-
-
Enum Constant Summary
Enum Constants Enum Constant Description activity
bpsPerHz
conductivity
count
dB
dBc
dBcRefBW
dBi
dBm
dBmRefBW
deg
degC
degdeg
degree
densityTX
event
eventsPerSecond
GHz
gPerCbm
hour
hPa
Hz
kbps
KHz
km
m
MHz
mPerHour
none
percent
perKm
point
probability
processor
ratio
s
second
speed
users
w
watt
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static Unit
parse(java.lang.String unit)
java.lang.String
toString()
static Unit
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Unit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
degree
public static final Unit degree
-
dBcRefBW
public static final Unit dBcRefBW
-
dBmRefBW
public static final Unit dBmRefBW
-
degdeg
public static final Unit degdeg
-
densityTX
public static final Unit densityTX
-
activity
public static final Unit activity
-
hour
public static final Unit hour
-
deg
public static final Unit deg
-
GHz
public static final Unit GHz
-
MHz
public static final Unit MHz
-
KHz
public static final Unit KHz
-
Hz
public static final Unit Hz
-
dBm
public static final Unit dBm
-
dB
public static final Unit dB
-
dBi
public static final Unit dBi
-
dBc
public static final Unit dBc
-
w
public static final Unit w
-
watt
public static final Unit watt
-
users
public static final Unit users
-
kbps
public static final Unit kbps
-
percent
public static final Unit percent
-
count
public static final Unit count
-
none
public static final Unit none
-
km
public static final Unit km
-
m
public static final Unit m
-
second
public static final Unit second
-
s
public static final Unit s
-
eventsPerSecond
public static final Unit eventsPerSecond
-
processor
public static final Unit processor
-
event
public static final Unit event
-
ratio
public static final Unit ratio
-
point
public static final Unit point
-
speed
public static final Unit speed
-
perKm
public static final Unit perKm
-
gPerCbm
public static final Unit gPerCbm
-
hPa
public static final Unit hPa
-
degC
public static final Unit degC
-
conductivity
public static final Unit conductivity
-
probability
public static final Unit probability
-
bpsPerHz
public static final Unit bpsPerHz
-
mPerHour
public static final Unit mPerHour
-
-
Method Detail
-
values
public static Unit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Unit c : Unit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Unit valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Unit>
-
parse
public static Unit parse(java.lang.String unit)
-
-