ByteFieldComparatorImpl extends AbstractFieldComparator<ENTITY> implements ByteFieldComparator<ENTITY, D> { @Override public int hashCode() { return (4049 + Objects.hashCode(this.field.identifier())) * 3109 + Boolean.hashCode(reversed); } ByteFieldComparatorImpl(HasByteValue<ENTITY, D> field);   ByteFieldComparatorImpl(HasByteValue<ENTITY, D> field, boolean reversed); @Override HasByteValue<ENTITY, D> getField(); @Override NullOrder getNullOrder(); @Override boolean isReversed(); @Override ByteFieldComparatorImpl<ENTITY, D> reversed(); @Override int compare(ENTITY first, ENTITY second); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test void testHashCode() { final int expResult = new ByteFieldComparatorImpl<>(ByteValue.BYTE, false).reversed().reversed().hashCode(); final int result = instance.hashCode(); assertEquals(expResult, result); }