Package qsardes.atomconst
Record Class AtomConstResult
java.lang.Object
java.lang.Record
qsardes.atomconst.AtomConstResult
- Record Components:
carbon- Carbon constant.const_map- Atom:constant map.const_vect- Constants vector.
public record AtomConstResult(Double carbon, Map<org.openscience.cdk.interfaces.IAtom,Double> const_map, double[] const_vect)
extends Record
Stores the atomic constants.
-
Constructor Summary
ConstructorsConstructorDescriptionAtomConstResult(Double carbon, Map<org.openscience.cdk.interfaces.IAtom, Double> const_map, double[] const_vect) Creates an instance of aAtomConstResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncarbon()Returns the value of thecarbonrecord component.Returns the value of theconst_maprecord component.double[]Returns the value of theconst_vectrecord 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.
-
Constructor Details
-
AtomConstResult
public AtomConstResult(Double carbon, Map<org.openscience.cdk.interfaces.IAtom, Double> const_map, double[] const_vect) Creates an instance of aAtomConstResultrecord class.- Parameters:
carbon- the value for thecarbonrecord componentconst_map- the value for theconst_maprecord componentconst_vect- the value for theconst_vectrecord 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 withObjects::equals(Object,Object). -
carbon
Returns the value of thecarbonrecord component.- Returns:
- the value of the
carbonrecord component
-
const_map
Returns the value of theconst_maprecord component.- Returns:
- the value of the
const_maprecord component
-
const_vect
public double[] const_vect()Returns the value of theconst_vectrecord component.- Returns:
- the value of the
const_vectrecord component
-