com.iphrase.runtime.query.result
Class Summarized.Float
java.lang.Object
|
+--com.iphrase.runtime.query.result.Summarized
|
+--com.iphrase.runtime.query.result.Summarized.Float
- Enclosing class:
- Summarized
- public static class Summarized.Float
- extends Summarized
Represent a summarized float feature value.
Note that while this class is called Float,
we use double for all internal representations.
Constructor Summary |
Summarized.Float(double min,
double max)
Construct a new summarized float feature value. |
Method Summary |
boolean |
equals(java.lang.Object obj)
Override Object.equals(java.lang.Object) |
double |
getMax()
Get the maximum value of this summarized type. |
double |
getMin()
Get the minimum value of this summarized type. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Summarized.Float
public Summarized.Float(double min,
double max)
- Construct a new summarized float feature value.
- Parameters:
min
- double minimum valuemax
- double maximum value
getMin
public double getMin()
- Get the minimum value of this summarized type.
getMax
public double getMax()
- Get the maximum value of this summarized type.
equals
public boolean equals(java.lang.Object obj)
- Override
Object.equals(java.lang.Object)
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
- the reference object with which to compare.- Returns:
true
if this object is the same as the obj
argument; false
otherwise.