content: /*
   * Decompiled with CFR 0.153-SNAPSHOT (d6f6758-dirty).
   */
  package com.google.common.collect;
  
  import com.google.common.annotations.GwtCompatible;
  import java.io.Serializable;
  import org.checkerframework.checker.nullness.qual.Nullable;
  
  @GwtCompatible
  final class Count
  implements Serializable {
      private int value;
  
      Count(int value) {
          this.value = value;
      }
  
      public int get() {
          return this.value;
      }
  
      public void add(int delta) {
          this.value += delta;
      }
  
      public int addAndGet(int delta) {
          return this.value += delta;
      }
  
      public void set(int newValue) {
          this.value = newValue;
      }
  
      public int getAndSet(int newValue) {
          int result = this.value;
          this.value = newValue;
          return result;
      }
  
      public int hashCode() {
          return this.value;
      }
  
      public boolean equals(@Nullable Object obj) {
          return obj instanceof Count && ((Count)obj).value == this.value;
      }
  
      public String toString() {
          return Integer.toString(this.value);
      }
  }
  
  