mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 04:45:20 +07:00
#IDEA-265154 fixed Merge-request: IJ-MR-158642 Merged-by: Bartek Pacia <bartek.pacia@jetbrains.com> GitOrigin-RevId: 7a04d4830e1f76ee3ad965390f28168834dca9e9
11 lines
384 B
Java
11 lines
384 B
Java
// "Convert to record class" "true-preview"
|
|
import java.util.Objects;
|
|
|
|
record Test(boolean booleanValue, char charValue, String stringValue, long longValue, float floatValue,
|
|
double doubleValue, double[] arrayValue) {
|
|
@Override
|
|
public int hashCode() {
|
|
return Objects.hash(booleanValue, stringValue, longValue, floatValue, doubleValue, arrayValue);
|
|
}
|
|
}
|