public static enum HashCodeAndEqualsPlugin.ValueHandling.Sort extends Enum<HashCodeAndEqualsPlugin.ValueHandling.Sort>
Enum Constant and Description |
---|
IGNORE
Excludes the field from hash code and equality methods.
|
REVERSE_NULLABILITY
Reverses the nullability of the field, i.e.
|
Modifier and Type | Method and Description |
---|---|
static HashCodeAndEqualsPlugin.ValueHandling.Sort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashCodeAndEqualsPlugin.ValueHandling.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashCodeAndEqualsPlugin.ValueHandling.Sort IGNORE
public static final HashCodeAndEqualsPlugin.ValueHandling.Sort REVERSE_NULLABILITY
null
if HashCodeAndEqualsPlugin.WithNonNullableFields
is used.public static HashCodeAndEqualsPlugin.ValueHandling.Sort[] values()
for (HashCodeAndEqualsPlugin.ValueHandling.Sort c : HashCodeAndEqualsPlugin.ValueHandling.Sort.values()) System.out.println(c);
public static HashCodeAndEqualsPlugin.ValueHandling.Sort valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024. All rights reserved.