Record Class FuzzStatistics.DiscoveryEvent
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.FuzzStatistics.DiscoveryEvent
- Enclosing class:
FuzzStatistics
-
Constructor Summary
ConstructorsConstructorDescriptionDiscoveryEvent(long elapsedSeconds, String errorCode) Creates an instance of aDiscoveryEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theelapsedSecondsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorCoderecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DiscoveryEvent
Creates an instance of aDiscoveryEventrecord class.- Parameters:
elapsedSeconds- the value for theelapsedSecondsrecord componenterrorCode- the value for theerrorCoderecord 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. -
elapsedSeconds
public long elapsedSeconds()Returns the value of theelapsedSecondsrecord component.- Returns:
- the value of the
elapsedSecondsrecord component
-
errorCode
Returns the value of theerrorCoderecord component.- Returns:
- the value of the
errorCoderecord component
-