com.sun.labs.minion.indexer.postings
Class WeightedOccurrence

java.lang.Object
  extended by com.sun.labs.minion.indexer.postings.OccurrenceImpl
      extended by com.sun.labs.minion.indexer.postings.WeightedOccurrence
All Implemented Interfaces:
Occurrence

public class WeightedOccurrence
extends OccurrenceImpl


Field Summary
protected  float weight
           
 
Fields inherited from class com.sun.labs.minion.indexer.postings.OccurrenceImpl
count, id
 
Constructor Summary
WeightedOccurrence()
          Creates a WeightedOccurrence
WeightedOccurrence(int id)
           
 
Method Summary
 float getWeight()
           
 void setWeight(float weight)
           
 
Methods inherited from class com.sun.labs.minion.indexer.postings.OccurrenceImpl
getCount, getID, setCount, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weight

protected float weight
Constructor Detail

WeightedOccurrence

public WeightedOccurrence()
Creates a WeightedOccurrence


WeightedOccurrence

public WeightedOccurrence(int id)
Method Detail

setWeight

public void setWeight(float weight)

getWeight

public float getWeight()