Record Class ModeInterferenceResult.Interference
java.lang.Object
java.lang.Record
com.palantir.gradle.suppressibleerrorprone.modes.common.ModeInterferenceResult.Interference
- All Implemented Interfaces:
ModeInterferenceResult
- Enclosing interface:
ModeInterferenceResult
public static record ModeInterferenceResult.Interference(Set<ModeName> interferingModes)
extends Record
implements ModeInterferenceResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface ModeInterferenceResult
ModeInterferenceResult.Interference, ModeInterferenceResult.NoInterference, ModeInterferenceResult.NotCompatible -
Constructor Summary
ConstructorsConstructorDescriptionInterference(Set<ModeName> interferingModes) Creates an instance of aInterferencerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinterferingModesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Interference
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
interferingModes
-