Record Class OperationProbe.Tag
java.lang.Object
java.lang.Record
com.trevlar.slotkit.api.window.OperationProbe.Tag
- Enclosing class:
OperationProbe
public static record OperationProbe.Tag(BehaviorKey<TriBool> take, BehaviorKey<TriBool> put)
extends Record
A click tag as the probe sees it: the operation pair it carries.
-
Constructor Summary
ConstructorsConstructorDescriptionTag(BehaviorKey<TriBool> take, BehaviorKey<TriBool> put) Creates an instance of aTagrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.put()Returns the value of theputrecord component.take()Returns the value of thetakerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Tag
Creates an instance of aTagrecord class.- Parameters:
take- the value for thetakerecord componentput- the value for theputrecord 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 withObjects::equals(Object,Object). -
take
Returns the value of thetakerecord component.- Returns:
- the value of the
takerecord component
-
put
Returns the value of theputrecord component.- Returns:
- the value of the
putrecord component
-