Record Class FriedmanTestResult
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.FriedmanTestResult
public record FriedmanTestResult(int blocks, int algorithms, Double statistic, Double pValue, List<FriedmanRank> ranks)
extends Record
Friedman omnibus test output for multiple algorithms.
-
Constructor Summary
ConstructorsConstructorDescriptionFriedmanTestResult(int blocks, int algorithms, Double statistic, Double pValue, List<FriedmanRank> ranks) Creates an instance of aFriedmanTestResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thealgorithmsrecord component.intblocks()Returns the value of theblocksrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pValue()Returns the value of thepValuerecord component.ranks()Returns the value of theranksrecord component.Returns the value of thestatisticrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FriedmanTestResult
public FriedmanTestResult(int blocks, int algorithms, Double statistic, Double pValue, List<FriedmanRank> ranks) Creates an instance of aFriedmanTestResultrecord class.- Parameters:
blocks- the value for theblocksrecord componentalgorithms- the value for thealgorithmsrecord componentstatistic- the value for thestatisticrecord componentpValue- the value for thepValuerecord componentranks- the value for theranksrecord 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. -
blocks
public int blocks()Returns the value of theblocksrecord component.- Returns:
- the value of the
blocksrecord component
-
algorithms
public int algorithms()Returns the value of thealgorithmsrecord component.- Returns:
- the value of the
algorithmsrecord component
-
statistic
Returns the value of thestatisticrecord component.- Returns:
- the value of the
statisticrecord component
-
pValue
Returns the value of thepValuerecord component.- Returns:
- the value of the
pValuerecord component
-
ranks
Returns the value of theranksrecord component.- Returns:
- the value of the
ranksrecord component
-