org.exist.util
Class ValueOccurrences
java.lang.Object
org.exist.util.ValueOccurrences
- public class ValueOccurrences
- extends java.lang.Object
- Author:
- wolf
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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(java.lang.Object o)
toString
public java.lang.String toString()
Copyright (C) Wolfgang Meier. All rights reserved.