Enum Constant and Description |
---|
ACU
Arbitrary current units
|
AVU
Arbitrary voltage units
|
M
Metres
|
M_PER_S
Metres per second
|
mV
Millivolts
|
N
Newtons
|
Nm
Newton metres
|
RAD
Radians
|
RAD_PER_S
Radians per second
|
S
Seconds
|
SPIKES
Spikes (count)
|
SPIKES_PER_S
Spike rate
|
uA
Microamps
|
uAcm2
Micro-amps per cm^2
|
UNK
Unknown units
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
myName
Standard name of units
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Units[] |
uniform(Units units,
int length)
Returns an array of Units in which all Units are the same.
|
static Units |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Units[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Units S
public static final Units mV
public static final Units uA
public static final Units uAcm2
public static final Units ACU
public static final Units AVU
public static final Units UNK
public static final Units SPIKES
public static final Units SPIKES_PER_S
public static final Units N
public static final Units Nm
public static final Units M
public static final Units RAD
public static final Units M_PER_S
public static final Units RAD_PER_S
public static Units[] values()
for (Units c : Units.values()) System.out.println(c);
public static Units 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 java.lang.String toString()
toString
in class java.lang.Enum<Units>