Package org.smtlib
Record Class SolverResolver.Resolution
java.lang.Object
java.lang.Record
org.smtlib.SolverResolver.Resolution
- Enclosing class:
SolverResolver
public static record SolverResolver.Resolution(String solvername, Class<?> adapterClass, String adapterClassName, String executable, String[] command)
extends Record
The result of
SolverResolver.resolve(java.util.Properties, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.function.Function<java.lang.String, java.lang.Class<?>>): the adapter class (and its name, for messages), and the
executable, or the command array if the properties give one-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?> Returns the value of theadapterClassrecord component.Returns the value of theadapterClassNamerecord component.String[]command()Returns the value of thecommandrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutablerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesolvernamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Resolution
public Resolution(String solvername, Class<?> adapterClass, String adapterClassName, String executable, String[] command) Creates an instance of aResolutionrecord class.- Parameters:
solvername- the value for thesolvernamerecord componentadapterClass- the value for theadapterClassrecord componentadapterClassName- the value for theadapterClassNamerecord componentexecutable- the value for theexecutablerecord componentcommand- the value for thecommandrecord 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 withObjects::equals(Object,Object). -
solvername
Returns the value of thesolvernamerecord component.- Returns:
- the value of the
solvernamerecord component
-
adapterClass
Returns the value of theadapterClassrecord component.- Returns:
- the value of the
adapterClassrecord component
-
adapterClassName
Returns the value of theadapterClassNamerecord component.- Returns:
- the value of the
adapterClassNamerecord component
-
executable
Returns the value of theexecutablerecord component.- Returns:
- the value of the
executablerecord component
-
command
Returns the value of thecommandrecord component.- Returns:
- the value of the
commandrecord component
-