WeightObj<T> constructor

WeightObj<T>(
  1. double weight,
  2. T value
)

Implementation

WeightObj(this.weight, this.value);