Package jolt

Record Class 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

    Constructors
    Constructor
    Description
    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 a JoltFeatures record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the value of the doublePrecision record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    final String
    Returns a string representation of this record class.
    boolean
    Returns the value of the useAVX record component.
    boolean
    Returns the value of the useAVX2 record component.
    boolean
    Returns the value of the useAVX512 record component.
    boolean
    Returns the value of the useF16C record component.
    boolean
    Returns the value of the useFMADD record component.
    boolean
    Returns the value of the useLZCNT record component.
    boolean
    Returns the value of the useSSE4_1 record component.
    boolean
    Returns the value of the useSSE4_2 record component.
    boolean
    Returns the value of the useTZCNT record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a JoltFeatures record class.
      Parameters:
      doublePrecision - the value for the doublePrecision record component
      useSSE4_1 - the value for the useSSE4_1 record component
      useSSE4_2 - the value for the useSSE4_2 record component
      useAVX - the value for the useAVX record component
      useAVX2 - the value for the useAVX2 record component
      useAVX512 - the value for the useAVX512 record component
      useLZCNT - the value for the useLZCNT record component
      useTZCNT - the value for the useTZCNT record component
      useF16C - the value for the useF16C record component
      useFMADD - the value for the useFMADD record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • doublePrecision

      public boolean doublePrecision()
      Returns the value of the doublePrecision record component.
      Returns:
      the value of the doublePrecision record component
    • useSSE4_1

      public boolean useSSE4_1()
      Returns the value of the useSSE4_1 record component.
      Returns:
      the value of the useSSE4_1 record component
    • useSSE4_2

      public boolean useSSE4_2()
      Returns the value of the useSSE4_2 record component.
      Returns:
      the value of the useSSE4_2 record component
    • useAVX

      public boolean useAVX()
      Returns the value of the useAVX record component.
      Returns:
      the value of the useAVX record component
    • useAVX2

      public boolean useAVX2()
      Returns the value of the useAVX2 record component.
      Returns:
      the value of the useAVX2 record component
    • useAVX512

      public boolean useAVX512()
      Returns the value of the useAVX512 record component.
      Returns:
      the value of the useAVX512 record component
    • useLZCNT

      public boolean useLZCNT()
      Returns the value of the useLZCNT record component.
      Returns:
      the value of the useLZCNT record component
    • useTZCNT

      public boolean useTZCNT()
      Returns the value of the useTZCNT record component.
      Returns:
      the value of the useTZCNT record component
    • useF16C

      public boolean useF16C()
      Returns the value of the useF16C record component.
      Returns:
      the value of the useF16C record component
    • useFMADD

      public boolean useFMADD()
      Returns the value of the useFMADD record component.
      Returns:
      the value of the useFMADD record component