Class WeightCountTuple


public final class WeightCountTuple extends Object
A mutable tuple of a double and a long.
  • Field Details

    • weight

      public double weight
      The current weight.
    • count

      public long count
      The current count.
  • Constructor Details

    • WeightCountTuple

      public WeightCountTuple()
      Creates a zeroed WeightCountTuple.
    • WeightCountTuple

      public WeightCountTuple(double weight, long count)
      Creates a WeightCountTuple with the specifed values.
      weight - The current weight.
      count - The current count.
  • Method Details