Package jolt
Record Class JoltFeatures
java.lang.Object
java.lang.Record
jolt.JoltFeatures
public record JoltFeatures(boolean doublePrecision, boolean useSSE4_1, boolean useSSE4_2, boolean useAVX, boolean useAVX2, boolean useAVX512, boolean useLZCNT, boolean useTZCNT, boolean useF16C, boolean useFMADD)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionJoltFeatures(boolean doublePrecision, boolean useSSE4_1, boolean useSSE4_2, boolean useAVX, boolean useAVX2, boolean useAVX512, boolean useLZCNT, boolean useTZCNT, boolean useF16C, boolean useFMADD) Creates an instance of aJoltFeaturesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thedoublePrecisionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.booleanuseAVX()Returns the value of theuseAVXrecord component.booleanuseAVX2()Returns the value of theuseAVX2record component.booleanReturns the value of theuseAVX512record component.booleanuseF16C()Returns the value of theuseF16Crecord component.booleanuseFMADD()Returns the value of theuseFMADDrecord component.booleanuseLZCNT()Returns the value of theuseLZCNTrecord component.booleanReturns the value of theuseSSE4_1record component.booleanReturns the value of theuseSSE4_2record component.booleanuseTZCNT()Returns the value of theuseTZCNTrecord component.
-
Constructor Details
-
JoltFeatures
public JoltFeatures(boolean doublePrecision, boolean useSSE4_1, boolean useSSE4_2, boolean useAVX, boolean useAVX2, boolean useAVX512, boolean useLZCNT, boolean useTZCNT, boolean useF16C, boolean useFMADD) Creates an instance of aJoltFeaturesrecord class.- Parameters:
doublePrecision- the value for thedoublePrecisionrecord componentuseSSE4_1- the value for theuseSSE4_1record componentuseSSE4_2- the value for theuseSSE4_2record componentuseAVX- the value for theuseAVXrecord componentuseAVX2- the value for theuseAVX2record componentuseAVX512- the value for theuseAVX512record componentuseLZCNT- the value for theuseLZCNTrecord componentuseTZCNT- the value for theuseTZCNTrecord componentuseF16C- the value for theuseF16Crecord componentuseFMADD- the value for theuseFMADDrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
doublePrecision
public boolean doublePrecision()Returns the value of thedoublePrecisionrecord component.- Returns:
- the value of the
doublePrecisionrecord component
-
useSSE4_1
public boolean useSSE4_1()Returns the value of theuseSSE4_1record component.- Returns:
- the value of the
useSSE4_1record component
-
useSSE4_2
public boolean useSSE4_2()Returns the value of theuseSSE4_2record component.- Returns:
- the value of the
useSSE4_2record component
-
useAVX
public boolean useAVX()Returns the value of theuseAVXrecord component.- Returns:
- the value of the
useAVXrecord component
-
useAVX2
public boolean useAVX2()Returns the value of theuseAVX2record component.- Returns:
- the value of the
useAVX2record component
-
useAVX512
public boolean useAVX512()Returns the value of theuseAVX512record component.- Returns:
- the value of the
useAVX512record component
-
useLZCNT
public boolean useLZCNT()Returns the value of theuseLZCNTrecord component.- Returns:
- the value of the
useLZCNTrecord component
-
useTZCNT
public boolean useTZCNT()Returns the value of theuseTZCNTrecord component.- Returns:
- the value of the
useTZCNTrecord component
-
useF16C
public boolean useF16C()Returns the value of theuseF16Crecord component.- Returns:
- the value of the
useF16Crecord component
-
useFMADD
public boolean useFMADD()Returns the value of theuseFMADDrecord component.- Returns:
- the value of the
useFMADDrecord component
-