Record Class UserFuzzRunner.FuzzResult
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.UserFuzzRunner.FuzzResult
- Enclosing class:
UserFuzzRunner
public static record UserFuzzRunner.FuzzResult(int candidatesGenerated, int survivors, long seed)
extends Record
Result of a user fuzz operation.
-
Constructor Summary
ConstructorsConstructorDescriptionFuzzResult(int candidatesGenerated, int survivors, long seed) Creates an instance of aFuzzResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecandidatesGeneratedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longseed()Returns the value of theseedrecord component.intReturns the value of thesurvivorsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FuzzResult
public FuzzResult(int candidatesGenerated, int survivors, long seed) Creates an instance of aFuzzResultrecord class.- Parameters:
candidatesGenerated- the value for thecandidatesGeneratedrecord componentsurvivors- the value for thesurvivorsrecord componentseed- the value for theseedrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
candidatesGenerated
public int candidatesGenerated()Returns the value of thecandidatesGeneratedrecord component.- Returns:
- the value of the
candidatesGeneratedrecord component
-
survivors
public int survivors()Returns the value of thesurvivorsrecord component.- Returns:
- the value of the
survivorsrecord component
-
seed
public long seed()Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-