Record Class ActivationStore.VisitResult
java.lang.Object
java.lang.Record
tools.refinery.store.dse.transition.statespace.ActivationStore.VisitResult
- Enclosing interface:
ActivationStore
public static record ActivationStore.VisitResult(boolean successfulVisit, boolean mayHaveMore, int transformation, int activation)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionVisitResult(boolean successfulVisit, boolean mayHaveMore, int transformation, int activation) Creates an instance of aVisitResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theactivationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of themayHaveMorerecord component.booleanReturns the value of thesuccessfulVisitrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetransformationrecord component.
-
Constructor Details
-
VisitResult
public VisitResult(boolean successfulVisit, boolean mayHaveMore, int transformation, int activation) Creates an instance of aVisitResultrecord class.- Parameters:
successfulVisit- the value for thesuccessfulVisitrecord componentmayHaveMore- the value for themayHaveMorerecord componenttransformation- the value for thetransformationrecord componentactivation- the value for theactivationrecord component
-
-
Method Details
-
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. All components in this record class are compared with '=='. -
successfulVisit
public boolean successfulVisit()Returns the value of thesuccessfulVisitrecord component.- Returns:
- the value of the
successfulVisitrecord component
-
mayHaveMore
public boolean mayHaveMore()Returns the value of themayHaveMorerecord component.- Returns:
- the value of the
mayHaveMorerecord component
-
transformation
public int transformation()Returns the value of thetransformationrecord component.- Returns:
- the value of the
transformationrecord component
-
activation
public int activation()Returns the value of theactivationrecord component.- Returns:
- the value of the
activationrecord component
-