public enum Precision extends Enum<Precision>
| Modifier and Type | Field and Description |
|---|---|
static int |
BIT |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
int |
getWidth() |
static Precision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Precision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Precision SINGLE
public static final Precision DOUBLE
public static final int BIT
public static Precision[] values()
for (Precision c : Precision.values()) System.out.println(c);
public static Precision 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 int getWidth()
public int getValue()
Copyright © 2016 OpenSource BIM. All rights reserved.