private void init() { ChunkList chunkList = info.getChunkList(); int cnt = chunkList.getChunkKeyCount(); keySet = new HashSet<ChunkKey>(); keyList = new ChunkKey[cnt]; for (int i = 0; i < cnt; i++) { ChunkKey key = ChunkKey.fromString(chunkList.getChunkKey(i)); keySet.add(key); keyList[i] = key; } }
private void init() { ChunkList chunkList = info.getChunkList(); int cnt = chunkList.getChunkKeyCount(); keySet = new HashSet<ChunkKey>(); keyList = new ChunkKey[cnt]; for (int i = 0; i < cnt; i++) { ChunkKey key = ChunkKey.fromString(chunkList.getChunkKey(i)); keySet.add(key); keyList[i] = key; } }
hash = (53 * hash) + getChunkList().hashCode();
result = result && getChunkList() .equals(other.getChunkList());
result = result && getChunkList() .equals(other.getChunkList());
hash = (53 * hash) + getChunkList().hashCode();
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } if (other.hasVersion()) { setVersion(other.getVersion()); } if (other.hasObjectsTotal()) { setObjectsTotal(other.getObjectsTotal()); } if (other.hasObjectsDelta()) { setObjectsDelta(other.getObjectsDelta()); } if (other.hasBytesTotal()) { setBytesTotal(other.getBytesTotal()); } if (other.hasTipList()) { mergeTipList(other.getTipList()); } if (other.hasChunkList()) { mergeChunkList(other.getChunkList()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } if (other.hasVersion()) { setVersion(other.getVersion()); } if (other.hasObjectsTotal()) { setObjectsTotal(other.getObjectsTotal()); } if (other.hasObjectsDelta()) { setObjectsDelta(other.getObjectsDelta()); } if (other.hasBytesTotal()) { setBytesTotal(other.getBytesTotal()); } if (other.hasTipList()) { mergeTipList(other.getTipList()); } if (other.hasChunkList()) { mergeChunkList(other.getChunkList()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }