protected Chip(Chip<P, B, T> other) { this.planesList = new ArrayList<T>(other.planesList); this.totalWritten = other.getTotalWritten(); this.totalGCInvocations = other.totalGCInvocations; }
public Builder<P, B, T> setTotalWritten(int totalWritten) { chip.totalWritten = totalWritten; return this; }
public Builder<P, B, T> setTotalGCInvocations(int number) { chip.totalGCInvocations = number; return this; }
public Builder<P, B, T> setPlanes(List<T> planesList) { chip.planesList = new ArrayList<T>(planesList); return this; }