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