classifier
Class TermWeight

java.lang.Object
  |
  +--classifier.TermWeight

public class TermWeight
extends java.lang.Object

A Pair .


Field Summary
 java.lang.String term
           
 float weight
           
 
Constructor Summary
TermWeight(java.lang.String t, float w)
          Costruisce ed inizializza i campi della coppia.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

term

public java.lang.String term

weight

public float weight
Constructor Detail

TermWeight

public TermWeight(java.lang.String t,
                  float w)
Costruisce ed inizializza i campi della coppia.
Method Detail

toString

public java.lang.String toString()
Returns:
una rappresentazione della coppia. Utile in fase di debugging.
Overrides:
toString in class java.lang.Object