### Question:
ExtractorConfig { @Override public int hashCode() { final int prime = 31; int result = 1; long temp; temp = Double.doubleToLongBits(extract); result = prime * result + (int) (temp ^ temp >>> 32); temp = Double.doubleToLongBits(dropoff); result = prime * result + (int) (temp ^ temp >>> 32); result = prime * result + capacity; return result; } ExtractorConfig(double extract, double dropoff, int capacity); static ExtractorConfig imports(Configurer configurer); static ExtractorConfig imports(Xml root); static Xml exports(ExtractorConfig config); double getExtract(); double getDropOff(); int getCapacity(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_EXTRACTOR; static final String ATT_EXTRACT; static final String ATT_DROPOFF; static final String ATT_CAPACITY; }### Answer:
@Test void testHashCode() { final ExtractorConfig hash = new ExtractorConfig(1.0, 2.0, 3); assertHashEquals(hash, new ExtractorConfig(1.0, 2.0, 3)); assertHashNotEquals(hash, new ExtractorConfig(0.0, 2.0, 3)); assertHashNotEquals(hash, new ExtractorConfig(1.0, 0.0, 3)); assertHashNotEquals(hash, new ExtractorConfig(1.0, 2.0, 0)); }