@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getItemCount() > 0) { hash = (37 * hash) + ITEM_FIELD_NUMBER; hash = (53 * hash) + getItemList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getItemCount() > 0) { hash = (37 * hash) + ITEM_FIELD_NUMBER; hash = (53 * hash) + getItemList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
@java.lang.Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedObjectIndex)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedObjectIndex other = (org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedObjectIndex) obj; boolean result = true; result = result && getItemList() .equals(other.getItemList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedObjectIndex)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedObjectIndex other = (org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedObjectIndex) obj; boolean result = true; result = result && getItemList() .equals(other.getItemList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }