|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlapis.RegionSet
lapis.SingleDocRegionSet
lapis.trees.RegionArray
Region array. Sorted list of region rectangles.
| Nested Class Summary |
| Nested classes inherited from class lapis.RegionSet |
RegionSet.IntersectOp |
| Field Summary | |
static Debug |
debug
|
| Fields inherited from class lapis.SingleDocRegionSet |
FUZZY_HIGH, FUZZY_LOW |
| Fields inherited from class lapis.RegionSet |
DISJOINT, EMPTY, EQUAL, MAX_INDEX, MIN_INDEX, SUBSET, SUPERSET, UNRELATED |
| Constructor Summary | |
|
RegionArray()
Make a new, empty RegionArray. |
|
RegionArray(DocumentVersion ver)
|
|
RegionArray(int size)
Make a new, empty RegionArray. |
|
RegionArray(int size,
DocumentVersion ver)
|
protected |
RegionArray(RegionArray ra,
boolean copy)
Copy a RegionArray. |
| Methods inherited from class lapis.SingleDocRegionSet |
getBoundingBox, lessThan |
| Methods inherited from class lapis.RegionSet |
after, afterDelimited, afterIn, ancestor, and, balancedWith, before, beforeDelimited, beforeIn, butnot, compareTo, convert, convert, convertToLatest, countIntersection, crispen, descendant, endingContains, endingDelimited, endingIn, endOf, equals, equalTo, flatten, fromTo, getDocuments, getUniversal, hashCode, highlight, include, intersect, intersects, intersects, isAllPoints, isCrisp, isEmpty, isFlat, justAfterDelimited, justBeforeDelimited, melt, mightEnclose, mightIntersect, nextTo, nth, or, overlaps, overlapsEnd, overlapsStart, regions, separatedBy, slowEquals, startingContains, startingDelimited, startingIn, startOf, stripEmptyRegions, toString, toStringWithContent, trim |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static Debug debug
| Constructor Detail |
public RegionArray()
public RegionArray(DocumentVersion ver)
public RegionArray(int size)
size - Expected number of regions
public RegionArray(int size,
DocumentVersion ver)
protected RegionArray(RegionArray ra,
boolean copy)
| Method Detail |
public int getStartLow()
getStartLow in class SingleDocRegionSetpublic int getStartHigh()
getStartHigh in class SingleDocRegionSetpublic int getEndLow()
getEndLow in class SingleDocRegionSetpublic int getEndHigh()
getEndHigh in class SingleDocRegionSetpublic int getSize()
getSize in class RegionSet
public void insert(Region s)
throws RepresentationChangeException
Mutable
insert in interface Mutables - region to be inserted
RepresentationChangeException
public void insert(RegionSet s)
throws RepresentationChangeException
Mutable
insert in interface Mutables - region set to be inserted
RepresentationChangeException
public void insert(int start,
int end,
DocumentVersion ver)
throws RepresentationChangeException
Mutable
insert in interface Mutablestart - region's start indexend - region's end indexver - region's version
RepresentationChangeException
public void delete(Region s)
throws RepresentationChangeException
Mutable
delete in interface Mutables - region to be deleted
RepresentationChangeException
public void delete(RegionSet s)
throws RepresentationChangeException
Mutable
delete in interface Mutables - region set to be deleted
RepresentationChangeExceptionpublic void validate()
public RegionSet convert(CoordinateMap coords,
DocumentVersion ver)
convert in class SingleDocRegionSetpublic RegionSet convert(CoordinateMap coords)
convert in class SingleDocRegionSet
public RegionSet convert(CoordinateMap coords,
Document doc)
convert in class SingleDocRegionSet
public int fuzzify(int x,
int direction)
fuzzify in class SingleDocRegionSetpublic RegionSet freeze()
RegionSet
freeze in class RegionSetpublic SubsetEnumeration subsets()
subsets in class RegionSetpublic RegionEnumeration regions(Region bbox)
regions in class RegionSetpublic RegionEnumeration regions(RegionSet bboxs)
RegionSet
regions in class RegionSetbboxs - region set consisting of bounding boxes, one from each document
public RegionSet justBefore(RegionSet bgd)
justBefore in class RegionSetpublic RegionSet justAfter(RegionSet bgd)
justAfter in class RegionSetpublic RegionSet starting(RegionSet bgd)
starting in class RegionSetpublic RegionSet ending(RegionSet bgd)
ending in class RegionSetpublic RegionSet in()
in in class RegionSetpublic RegionSet contains()
contains in class RegionSetpublic SubsetEnumeration singleDocize()
singleDocize in class RegionSetpublic DocumentVersion getVersion()
getVersion in class SingleDocRegionSetpublic Document getDocument()
getDocument in class SingleDocRegionSetpublic SingleDocRegionSet getSingleDocRegionSet(Document doc)
getSingleDocRegionSet in class RegionSetpublic Versions getVersions()
getVersions in class RegionSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||