public CacheStats minus(CacheStats other) {
    return CacheStats.of(
        Math.max(0L, hitCount - other.hitCount),
        Math.max(0L, missCount - other.missCount),
        Math.max(0L, loadSuccessCount - other.loadSuccessCount),
        Math.max(0L, loadFailureCount - other.loadFailureCount),
        Math.max(0L, totalLoadTime - other.totalLoadTime),
        Math.max(0L, evictionCount - other.evictionCount),
        Math.max(0L, evictionWeight - other.evictionWeight));
  }
@Test
  public void minus() {
    var one = CacheStats.of(11, 13, 17, 19, 23, 27, 54);
    var two = CacheStats.of(53, 47, 43, 41, 37, 31, 62);

    var diff = two.minus(one);
    checkStats(diff, 76, 42, 42.0 / 76, 34, 34.0 / 76,
        26, 22, 22.0 / 48, 26 + 22, 14, 14.0 / (26 + 22), 4, 8);
    assertThat(one.minus(two)).isEqualTo(CacheStats.empty());
  }