public enum FloatingPointPrecision extends Enum<FloatingPointPrecision>
| Modifier and Type | Method and Description |
|---|---|
static FloatingPointPrecision |
fromFlatbufID(short id) |
short |
getFlatbufID() |
static FloatingPointPrecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FloatingPointPrecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FloatingPointPrecision HALF
public static final FloatingPointPrecision SINGLE
public static final FloatingPointPrecision DOUBLE
public static FloatingPointPrecision[] values()
for (FloatingPointPrecision c : FloatingPointPrecision.values()) System.out.println(c);
public static FloatingPointPrecision 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 short getFlatbufID()
public static FloatingPointPrecision fromFlatbufID(short id)
Copyright © 2017 The Apache Software Foundation. All rights reserved.