goldman.collection
Interface Quantizer<T>


public interface Quantizer<T>

The Quantizer interface allows an application program to provide a mechanism to convert an element x in the collection to a double. (While an integer could have been used instead of a double, using a double provides the maximum flexibility.)


Method Summary
 double getDouble(T x)
          Converts x to a double.
 

Method Detail

getDouble

double getDouble(T x)
Converts x to a double.