@Test public void testHashCode() { assertEquals(new AclReaders(123, null, null, 0, null).hashCode(), new AclReaders(123, null, null, 0, null).hashCode()); assertNotEquals(new AclReaders(123, null, null, 0, null).hashCode(), new AclReaders(124, null, null, 0, null).hashCode()); }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (int) (id ^ (id >>> 32)); return result; }
AclReaders { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (int) (id ^ (id >>> 32)); return result; } }
AclReaders { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (int) (id ^ (id >>> 32)); return result; } AclReaders(long id, List<String> readers, List<String> denied, long aclChangeSetId, String tenantDomain); }
AclReaders { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (int) (id ^ (id >>> 32)); return result; } AclReaders(long id, List<String> readers, List<String> denied, long aclChangeSetId, String tenantDomain); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); long getId(); List<String> getReaders(); void setReaders(List readers); List<String> getDenied(); long getAclChangeSetId(); String getTenantDomain(); }
AclReaders { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (int) (id ^ (id >>> 32)); return result; } AclReaders(long id, List<String> readers, List<String> denied, long aclChangeSetId, String tenantDomain); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); long getId(); List<String> getReaders(); void setReaders(List readers); List<String> getDenied(); long getAclChangeSetId(); String getTenantDomain();  }