swap method

void swap(
  1. T newValue
)

Implementation

void swap(T newValue) {
  doSwap(newValue);
  warmUp();
}