|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Versions is a set of document versions from which a region set is derived. Contains at most one version per document (i.e., if v1!=v2 are in the set, then v1.doc != v2.doc). Versions is immutable.
Method Summary | |
boolean |
compatible(Versions vs)
Test whether two Versions are compatible -- i.e., whether two region sets with those Versions can be safely combined without coordinate conversion. |
boolean |
contains(Document doc)
|
boolean |
contains(DocumentVersion ver)
|
Iterator |
documents()
|
boolean |
equals(Object obj)
|
int |
getSize()
|
DocumentVersion |
getVersion(Document doc)
get doc's version, which is stored in Versions |
Iterator |
versions()
|
Method Detail |
public Iterator versions()
public Iterator documents()
public int getSize()
public boolean contains(DocumentVersion ver)
ver
- a document version
public boolean contains(Document doc)
doc
- a document
public DocumentVersion getVersion(Document doc)
doc
- a document
public boolean equals(Object obj)
public boolean compatible(Versions vs)
vs
- a Versions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |