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
ConstructorDescriptionVisitResult
(boolean successfulVisit, boolean mayHaveMore, int transformation, int activation) Creates an instance of aVisitResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of theactivation
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of themayHaveMore
record component.boolean
Returns the value of thesuccessfulVisit
record component.final String
toString()
Returns a string representation of this record class.int
Returns the value of thetransformation
record component.
-
Constructor Details
-
VisitResult
public VisitResult(boolean successfulVisit, boolean mayHaveMore, int transformation, int activation) Creates an instance of aVisitResult
record class.- Parameters:
successfulVisit
- the value for thesuccessfulVisit
record componentmayHaveMore
- the value for themayHaveMore
record componenttransformation
- the value for thetransformation
record componentactivation
- the value for theactivation
record 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 thesuccessfulVisit
record component.- Returns:
- the value of the
successfulVisit
record component
-
mayHaveMore
public boolean mayHaveMore()Returns the value of themayHaveMore
record component.- Returns:
- the value of the
mayHaveMore
record component
-
transformation
public int transformation()Returns the value of thetransformation
record component.- Returns:
- the value of the
transformation
record component
-
activation
public int activation()Returns the value of theactivation
record component.- Returns:
- the value of the
activation
record component
-