@Test public void testHashCode() throws Exception { assertEquals(Objects.hash(mechanicalRisk, aerodynamicRisk, strategicRisk, tire), parameters.hashCode()); }
@Override public int hashCode() { return Objects.hash(mechanicalRisk, aerodynamicRisk, strategicRisk, tire); }
CarParameters { @Override public int hashCode() { return Objects.hash(mechanicalRisk, aerodynamicRisk, strategicRisk, tire); } }
CarParameters { @Override public int hashCode() { return Objects.hash(mechanicalRisk, aerodynamicRisk, strategicRisk, tire); } CarParameters(int mechanicalRisk, int aerodynamicRisk, int strategicRisk, Tire tire); }
CarParameters { @Override public int hashCode() { return Objects.hash(mechanicalRisk, aerodynamicRisk, strategicRisk, tire); } CarParameters(int mechanicalRisk, int aerodynamicRisk, int strategicRisk, Tire tire); int getMechanicalRisk(); int getAerodynamicRisk(); int getStrategicRisk(); Tire getTire(); boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
CarParameters { @Override public int hashCode() { return Objects.hash(mechanicalRisk, aerodynamicRisk, strategicRisk, tire); } CarParameters(int mechanicalRisk, int aerodynamicRisk, int strategicRisk, Tire tire); int getMechanicalRisk(); int getAerodynamicRisk(); int getStrategicRisk(); Tire getTire(); boolean equals(Object other); @Override int hashCode(); @Override String toString();  }