Enum Class FvParameters.SparseCompression
java.lang.Object
java.lang.Enum<FvParameters.SparseCompression>
com.chemaxon.descriptors.vectors.floats.FvParameters.SparseCompression
- All Implemented Interfaces:
Serializable
,Comparable<FvParameters.SparseCompression>
,java.lang.constant.Constable
- Enclosing class:
- FvParameters
Optimization for sparse vectors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNo optimization for sparse vectors.Zero run length list of 8bit values; suitable for very sparse vectors. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FvParameters.SparseCompression[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No optimization for sparse vectors.Every coordinate is stored using the specified numeric representation.
-
ZRLL_BYTES
Zero run length list of 8bit values; suitable for very sparse vectors.Store the number of leading zeros, and zeros following each element is stored separately in a list of 8 bit unsigned values. If a zero run is longer than the maximum value of representing type (255 in this case) a zero valued coordinate is stored.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-