Record Class MappingsProvider.UnpickMetadata
java.lang.Object
java.lang.Record
net.fabricmc.loom.configuration.providers.mappings.MappingsProvider.UnpickMetadata
- Enclosing class:
- MappingsProvider
-
Constructor Summary
ConstructorsConstructorDescriptionUnpickMetadata(String unpickGroup, String unpickVersion)Creates an instance of aUnpickMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.Returns the value of theunpickGrouprecord component.Returns the value of theunpickVersionrecord component.
-
Constructor Details
-
UnpickMetadata
Creates an instance of aUnpickMetadatarecord class.- Parameters:
unpickGroup- the value for theunpickGrouprecord componentunpickVersion- the value for theunpickVersionrecord 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). -
unpickGroup
Returns the value of theunpickGrouprecord component.- Returns:
- the value of the
unpickGrouprecord component
-
unpickVersion
Returns the value of theunpickVersionrecord component.- Returns:
- the value of the
unpickVersionrecord component
-