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