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.


Inner classes inherited from class com.iphrase.runtime.query.result.Summarized
Summarized.Bool, Summarized.DateTime, Summarized.Float, Summarized.ImageUrl, Summarized.Int, Summarized.Link, Summarized.Taxonomy, Summarized.Text, Summarized.TextExtract
 
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
 

Constructor Detail

Summarized.Float

public Summarized.Float(double min,
                        double max)
Construct a new summarized float feature value.
Parameters:
min - double minimum value
max - double maximum value
Method Detail

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.

© Copyright 2005, 2006. IBM Corporation. All rights reserved.