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