Record Class VanSignalGen.ClassItem.Toggle
java.lang.Object
java.lang.Record
dev.vanengine.core.compile.VanSignalGen.ClassItem.Toggle
- All Implemented Interfaces:
VanSignalGen.ClassItem
- Enclosing interface:
VanSignalGen.ClassItem
public static record VanSignalGen.ClassItem.Toggle(String className, String condition)
extends Record
implements VanSignalGen.ClassItem
-
Nested Class Summary
Nested classes/interfaces inherited from interface VanSignalGen.ClassItem
VanSignalGen.ClassItem.Static, VanSignalGen.ClassItem.Toggle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.Returns the value of theconditionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Toggle
-
-
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 withObjects::equals(Object,Object). -
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
condition
Returns the value of theconditionrecord component.- Returns:
- the value of the
conditionrecord component
-