public enum SI extends Enum<SI>
Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2019-01-18 00:35:01 +0100 (Fri, 18 Jan 2019) $, @version $Revision: 324 $, by $Author: averbraeck $,
initial version Jun 15, 2014
Enum Constant and Description |
---|
A
Ampere.
|
cd
candela.
|
K
Kelvin.
|
kg
kilogram.
|
m
meter; note that the m is also in "mol".
|
mol
mol.
|
s
second.
|
Modifier and Type | Method and Description |
---|---|
static SI |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SI kg
public static final SI m
public static final SI s
public static final SI A
public static final SI K
public static final SI cd
public static final SI mol
public static SI[] values()
for (SI c : SI.values()) System.out.println(c);
public static SI valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2019 Delft University of Technology. All rights reserved.