public class VSM
extends java.lang.Object
ArrayList Space Model
that can be used to store
analysis for different documents, to allow for comparisons across the different analyses.Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<java.lang.Object> |
docAnalysis
List of analyses for different documents.
|
Constructor and Description |
---|
VSM()
Create a new instance of VSM.
|
Modifier and Type | Method and Description |
---|---|
void |
addAnalysis(java.lang.Object theAnalysis)
Add a new analysis object to the model.
|
void |
clearAnalyses()
Clear the analysis list of all entries
|
java.util.ArrayList<java.lang.Object> |
getAnalyses()
Get the list of document analyses.
|
boolean |
hasAnalyses()
Return true if the list of analysis objects is not empty.
|
protected java.util.ArrayList<java.lang.Object> docAnalysis
public boolean hasAnalyses()
public void clearAnalyses()
public void addAnalysis(java.lang.Object theAnalysis)
theAnalysis
- the object to add.public java.util.ArrayList<java.lang.Object> getAnalyses()