public interface Counter
Counts values for keys.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the value for the key.
    void
    increment(List<String> key, double value)
    Increments the value for the key.
  • Method Details

    • increment

      void increment(List<String> key, double value)
      Increments the value for the key.
      Parameters:
      key - The key to increment value for.
      value - The value to increment.
    • estimate

      double estimate(List<String> key)
      Gets the value for the key.
      Parameters:
      key - The key to get value for.
      Returns:
      the (approximate/exact) value for the key