Record Class ProgrammedCircuitSet
java.lang.Object
java.lang.Record
com.gtnewhorizons.horizonqa.api.event.ProgrammedCircuitSet
- All Implemented Interfaces:
TestEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gtnewhorizons.horizonqa.api.event.TestEvent
TestEvent.Category -
Constructor Summary
ConstructorsConstructorDescriptionProgrammedCircuitSet(int tick, TestPos bus, int config) Creates an instance of aProgrammedCircuitSetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbus()Returns the value of thebusrecord component.category()Coarse bucket; one ofTestEvent.Category.intconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.summary()Single-line human-readable description.inttick()Returns the value of thetickrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProgrammedCircuitSet
Creates an instance of aProgrammedCircuitSetrecord class.- Parameters:
tick- the value for thetickrecord componentbus- the value for thebusrecord componentconfig- the value for theconfigrecord component
-
-
Method Details
-
category
Description copied from interface:TestEventCoarse bucket; one ofTestEvent.Category. -
summary
Description copied from interface:TestEventSingle-line human-readable description. Reporters print this verbatim. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
tick
public int tick()Returns the value of thetickrecord component. -
bus
Returns the value of thebusrecord component.- Returns:
- the value of the
busrecord component
-
config
public int config()Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-