Module com.github.sormuras.bach
Package com.github.sormuras.bach.project
Record Class DeclaredModule.Tweak
java.lang.Object
java.lang.Record
com.github.sormuras.bach.project.DeclaredModule.Tweak
- Enclosing class:
- DeclaredModule
public static record DeclaredModule.Tweak(ProjectSpace space, DeclaredModule module, DeclaredModule.Operator operator)
extends Record
- 
Constructor SummaryConstructorsConstructorDescriptionTweak(ProjectSpace space, DeclaredModule module, DeclaredModule.Operator operator) Creates an instance of aTweakrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.module()Returns the value of themodulerecord component.operator()Returns the value of theoperatorrecord component.space()Returns the value of thespacerecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
TweakCreates an instance of aTweakrecord class.- Parameters:
- space- the value for the- spacerecord component
- module- the value for the- modulerecord component
- operator- the value for the- operatorrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodeReturns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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).
- 
spaceReturns the value of thespacerecord component.- Returns:
- the value of the spacerecord component
 
- 
moduleReturns the value of themodulerecord component.- Returns:
- the value of the modulerecord component
 
- 
operatorReturns the value of theoperatorrecord component.- Returns:
- the value of the operatorrecord component
 
 
-