Record Class PairwiseTestResult
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.PairwiseTestResult
-
Constructor Summary
ConstructorsConstructorDescriptionPairwiseTestResult(String algorithmA, String algorithmB, long sampleSizeA, long sampleSizeB, double pValue, double holmAdjustedPValue, String betterAlgorithm, boolean significantAt05) Creates an instance of aPairwiseTestResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmArecord component.Returns the value of thealgorithmBrecord component.Returns the value of thebetterAlgorithmrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of theholmAdjustedPValuerecord component.doublepValue()Returns the value of thepValuerecord component.longReturns the value of thesampleSizeArecord component.longReturns the value of thesampleSizeBrecord component.booleanReturns the value of thesignificantAt05record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PairwiseTestResult
public PairwiseTestResult(String algorithmA, String algorithmB, long sampleSizeA, long sampleSizeB, double pValue, double holmAdjustedPValue, String betterAlgorithm, boolean significantAt05) Creates an instance of aPairwiseTestResultrecord class.- Parameters:
algorithmA- the value for thealgorithmArecord componentalgorithmB- the value for thealgorithmBrecord componentsampleSizeA- the value for thesampleSizeArecord componentsampleSizeB- the value for thesampleSizeBrecord componentpValue- the value for thepValuerecord componentholmAdjustedPValue- the value for theholmAdjustedPValuerecord componentbetterAlgorithm- the value for thebetterAlgorithmrecord componentsignificantAt05- the value for thesignificantAt05record 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. -
algorithmA
Returns the value of thealgorithmArecord component.- Returns:
- the value of the
algorithmArecord component
-
algorithmB
Returns the value of thealgorithmBrecord component.- Returns:
- the value of the
algorithmBrecord component
-
sampleSizeA
public long sampleSizeA()Returns the value of thesampleSizeArecord component.- Returns:
- the value of the
sampleSizeArecord component
-
sampleSizeB
public long sampleSizeB()Returns the value of thesampleSizeBrecord component.- Returns:
- the value of the
sampleSizeBrecord component
-
pValue
public double pValue()Returns the value of thepValuerecord component.- Returns:
- the value of the
pValuerecord component
-
holmAdjustedPValue
public double holmAdjustedPValue()Returns the value of theholmAdjustedPValuerecord component.- Returns:
- the value of the
holmAdjustedPValuerecord component
-
betterAlgorithm
Returns the value of thebetterAlgorithmrecord component.- Returns:
- the value of the
betterAlgorithmrecord component
-
significantAt05
public boolean significantAt05()Returns the value of thesignificantAt05record component.- Returns:
- the value of the
significantAt05record component
-