@Test public void testHashCode() { assertTrue(SPV1.hashCode() != 0); assertEquals(SPV1.hashCode(), SPV2.hashCode()); assertNotEquals(SPV1.hashCode(), SPV3.hashCode()); assertNotEquals(SPV1.hashCode(), SPV4.hashCode()); assertNotEquals(SPV1.hashCode(), SPV5.hashCode()); assertNotEquals(SPV1.hashCode(), SPV6.hashCode()); assertNotEquals(SPV1.hashCode(), SPV7.hashCode()); assertNotEquals(SPV1.hashCode(), SPV8.hashCode()); assertTrue(SPV2.hashCode() != 0); assertEquals(SPV2.hashCode(), SPV1.hashCode()); assertNotEquals(SPV2.hashCode(), SPV3.hashCode()); assertNotEquals(SPV2.hashCode(), SPV4.hashCode()); assertNotEquals(SPV2.hashCode(), SPV5.hashCode()); assertNotEquals(SPV2.hashCode(), SPV6.hashCode()); assertNotEquals(SPV2.hashCode(), SPV7.hashCode()); assertNotEquals(SPV2.hashCode(), SPV8.hashCode()); assertTrue(SPV3.hashCode() != 0); assertNotEquals(SPV3.hashCode(), SPV1.hashCode()); assertNotEquals(SPV3.hashCode(), SPV2.hashCode()); assertNotEquals(SPV3.hashCode(), SPV4.hashCode()); assertNotEquals(SPV3.hashCode(), SPV5.hashCode()); assertNotEquals(SPV3.hashCode(), SPV6.hashCode()); assertNotEquals(SPV3.hashCode(), SPV7.hashCode()); assertNotEquals(SPV3.hashCode(), SPV8.hashCode()); assertTrue(SPV4.hashCode() != 0); assertNotEquals(SPV4.hashCode(), SPV1.hashCode()); assertNotEquals(SPV4.hashCode(), SPV2.hashCode()); assertNotEquals(SPV4.hashCode(), SPV3.hashCode()); assertNotEquals(SPV4.hashCode(), SPV5.hashCode()); assertNotEquals(SPV4.hashCode(), SPV6.hashCode()); assertNotEquals(SPV4.hashCode(), SPV7.hashCode()); assertNotEquals(SPV4.hashCode(), SPV8.hashCode()); }
@Override public int hashCode() { int hash = 7; if (property != null) hash*=property.hashCode(); if (value != null) hash*=value.hashCode(); return hash; }
PropertyValue { @Override public int hashCode() { int hash = 7; if (property != null) hash*=property.hashCode(); if (value != null) hash*=value.hashCode(); return hash; } }
PropertyValue { @Override public int hashCode() { int hash = 7; if (property != null) hash*=property.hashCode(); if (value != null) hash*=value.hashCode(); return hash; } PropertyValue(Property<T> prop, T value); }
PropertyValue { @Override public int hashCode() { int hash = 7; if (property != null) hash*=property.hashCode(); if (value != null) hash*=value.hashCode(); return hash; } PropertyValue(Property<T> prop, T value); @Override boolean equals(Object obj); @Override int hashCode(); Property<T> getProperty(); T getValue(); }
PropertyValue { @Override public int hashCode() { int hash = 7; if (property != null) hash*=property.hashCode(); if (value != null) hash*=value.hashCode(); return hash; } PropertyValue(Property<T> prop, T value); @Override boolean equals(Object obj); @Override int hashCode(); Property<T> getProperty(); T getValue();  }