Record Class DecompilerOptions.Dto
java.lang.Object
java.lang.Record
net.fabricmc.loom.api.decompilers.DecompilerOptions.Dto
- All Implemented Interfaces:
Serializable
- Enclosing class:
DecompilerOptions
public static record DecompilerOptions.Dto(String className, Map<String,String> options, int maxThreads)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxThreadsrecord component.options()Returns the value of theoptionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Dto
Creates an instance of aDtorecord class.- Parameters:
className- the value for theclassNamerecord componentoptions- the value for theoptionsrecord componentmaxThreads- the value for themaxThreadsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
maxThreads
public int maxThreads()Returns the value of themaxThreadsrecord component.- Returns:
- the value of the
maxThreadsrecord component
-