Enum FvParameters.NumericRepresentation
- java.lang.Object
-
- java.lang.Enum<FvParameters.NumericRepresentation>
-
- com.chemaxon.descriptors.vectors.floats.FvParameters.NumericRepresentation
-
- All Implemented Interfaces:
Serializable
,Comparable<FvParameters.NumericRepresentation>
- Enclosing class:
- FvParameters
public static enum FvParameters.NumericRepresentation extends Enum<FvParameters.NumericRepresentation>
Representation of the vector coordinates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOAT
Using Java 32 bit floating pointfloat
numbers as coordinates.SCALED_BYTE
Using Java 8 bit bytes scaled to the given min-max range.SCALED_SHORT
Using Java 16 bit integers scaled to the given min-max range.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FvParameters.NumericRepresentation
valueOf(String name)
Returns the enum constant of this type with the specified name.static FvParameters.NumericRepresentation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOAT
public static final FvParameters.NumericRepresentation FLOAT
Using Java 32 bit floating pointfloat
numbers as coordinates.
-
SCALED_SHORT
public static final FvParameters.NumericRepresentation SCALED_SHORT
Using Java 16 bit integers scaled to the given min-max range.
-
SCALED_BYTE
public static final FvParameters.NumericRepresentation SCALED_BYTE
Using Java 8 bit bytes scaled to the given min-max range.
-
-
Method Detail
-
values
public static FvParameters.NumericRepresentation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FvParameters.NumericRepresentation c : FvParameters.NumericRepresentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FvParameters.NumericRepresentation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-