public enum DerivedSiUnit extends Enum<DerivedSiUnit>
Enum Constant and Description |
---|
OHM
Resistance.
|
Modifier and Type | Method and Description |
---|---|
String |
getSymbol()
Gets the symbol of this unit.
|
static DerivedSiUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DerivedSiUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DerivedSiUnit OHM
public static DerivedSiUnit[] values()
for (DerivedSiUnit c : DerivedSiUnit.values()) System.out.println(c);
public static DerivedSiUnit 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 nullpublic String getSymbol()
Copyright © 2008–2018. All rights reserved.