Record Class FriedmanRank
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.FriedmanRank
-
Constructor Summary
ConstructorsConstructorDescriptionFriedmanRank(String algorithm, double averageRank) Creates an instance of aFriedmanRankrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.doubleReturns the value of theaverageRankrecord 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
-
FriedmanRank
Creates an instance of aFriedmanRankrecord class.- Parameters:
algorithm- the value for thealgorithmrecord componentaverageRank- the value for theaverageRankrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
algorithm
Returns the value of thealgorithmrecord component.- Returns:
- the value of the
algorithmrecord component
-
averageRank
public double averageRank()Returns the value of theaverageRankrecord component.- Returns:
- the value of the
averageRankrecord component
-