Package chemaxon.calculations.cip
Record Class CIPStereoCalculator.CIPStereoCalculatorResult
java.lang.Object
java.lang.Record
chemaxon.calculations.cip.CIPStereoCalculator.CIPStereoCalculatorResult
- Record Components:
descriptor- the calculated descriptorhasTimeout- whether the calculation of the descriptor had to be stopped due to timeout
- Enclosing class:
CIPStereoCalculator
public static record CIPStereoCalculator.CIPStereoCalculatorResult(CIPStereoDescriptorIface descriptor, boolean hasTimeout)
extends Record
Wrapper for the calculated descriptor with timeout information.
-
Constructor Summary
ConstructorsConstructorDescriptionCIPStereoCalculatorResult(CIPStereoDescriptorIface descriptor, boolean hasTimeout) Creates an instance of aCIPStereoCalculatorResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehasTimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CIPStereoCalculatorResult
Creates an instance of aCIPStereoCalculatorResultrecord class.- Parameters:
descriptor- the value for thedescriptorrecord componenthasTimeout- the value for thehasTimeoutrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
descriptor
Returns the value of thedescriptorrecord component.- Returns:
- the value of the
descriptorrecord component
-
hasTimeout
public boolean hasTimeout()Returns the value of thehasTimeoutrecord component.- Returns:
- the value of the
hasTimeoutrecord component
-