Package org.apache.pinot.spi.utils
Class Pairs.IntDoublePair
- java.lang.Object
-
- org.apache.pinot.spi.utils.Pairs.IntDoublePair
-
-
Constructor Summary
Constructors Constructor Description IntDoublePair(int intVal, double doubleVal)Constructor for the class
-
Method Summary
Modifier and Type Method Description doublegetDoubleValue()Returns the double value of the pairintgetIntValue()Returns the int value of the pairvoidsetDoubleValue(double doubleVal)Sets the provided value into the 'double' field.voidsetIntValue(int intVal)Sets the provided value into the 'int' field.
-
-
-
Method Detail
-
setIntValue
public void setIntValue(int intVal)
Sets the provided value into the 'int' field.- Parameters:
intVal- Value to set
-
getIntValue
public int getIntValue()
Returns the int value of the pair- Returns:
- 'int' value
-
setDoubleValue
public void setDoubleValue(double doubleVal)
Sets the provided value into the 'double' field.- Parameters:
doubleVal- Value to set
-
getDoubleValue
public double getDoubleValue()
Returns the double value of the pair- Returns:
- 'double' value
-
-