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