org.exist.util
Class ValueOccurrences
java.lang.Object
org.exist.util.ValueOccurrences
public class ValueOccurrences
- extends Object
- Author:
- wolf
ValueOccurrences
public ValueOccurrences(AtomicValue value)
getValue
public AtomicValue getValue()
getOccurrences
public int getOccurrences()
- Returns the overall frequency of this term
in the document set.
addOccurrences
public void addOccurrences(int count)
addDocument
public void addDocument(DocumentImpl doc)
add
public void add(ValueOccurrences other)
getDocuments
public int getDocuments()
- Returns the number of documents from the set in
which the term has been found.
compareTo
public int compareTo(Object o)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright (C) Wolfgang Meier. All rights reserved.