Record Class AlloySession.Loaded
java.lang.Object
java.lang.Record
org.clafer.alloy.solve.AlloySession.Loaded
- Enclosing class:
AlloySession
public static record AlloySession.Loaded(List<AlloySession.SigInfo> sigs, int globalScope)
extends Record
The sigs of the model and the global scope of its command.
-
Constructor Summary
ConstructorsConstructorDescriptionLoaded(List<AlloySession.SigInfo> sigs, int globalScope) Creates an instance of aLoadedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of theglobalScoperecord component.final inthashCode()Returns a hash code value for this object.sigs()Returns the value of thesigsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Loaded
Creates an instance of aLoadedrecord class.- Parameters:
sigs- the value for thesigsrecord componentglobalScope- the value for theglobalScoperecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
sigs
Returns the value of thesigsrecord component.- Returns:
- the value of the
sigsrecord component
-
globalScope
Returns the value of theglobalScoperecord component.- Returns:
- the value of the
globalScoperecord component
-