T - The type of sample data.@Internal public class IntermediateSampleData<T> extends Object implements Comparable<IntermediateSampleData<T>>
| Constructor and Description | 
|---|
| IntermediateSampleData(double weight,
                      T element) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(IntermediateSampleData<T> other) | 
| T | getElement() | 
| double | getWeight() | 
public IntermediateSampleData(double weight,
                              T element)
public double getWeight()
public T getElement()
public int compareTo(IntermediateSampleData<T> other)
compareTo in interface Comparable<IntermediateSampleData<T>>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.