public static class Measure.MeasureValue
extends java.lang.Object
Constructor and Description |
---|
Measure.MeasureValue(Measure measure)
Construct with the measure type of the value.
|
Measure.MeasureValue(Measure measure,
java.lang.Integer topN)
Construct with the measure type of the value and
the number of items in the recommended list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Measure |
getMeasure()
Return the
Measure object of the MeasureValue object |
java.lang.Integer |
getTopN()
Return the number of items in the recommended list.
|
int |
hashCode() |
void |
setMeasure(Measure measure)
Set the
Measure object of the MeasureValue object |
void |
setTopN(java.lang.Integer topN)
Set the number of items in the recommended list
|
public Measure.MeasureValue(Measure measure)
measure
- the measure type of the valuepublic Measure.MeasureValue(Measure measure, java.lang.Integer topN)
measure
- the measure type of the valuetopN
- number of items in the recommended listpublic Measure getMeasure()
Measure
object of the MeasureValue
objectMeasure
object of the MeasureValue
objectpublic void setMeasure(Measure measure)
Measure
object of the MeasureValue
objectmeasure
- the measure to setpublic java.lang.Integer getTopN()
public void setTopN(java.lang.Integer topN)
topN
- the number of items in the recommended list to setpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2017. All Rights Reserved.