lapis
Class DelayedRegionSet

java.lang.Object
  extended bylapis.RegionSet
      extended bylapis.DelayedRegionSet
All Implemented Interfaces:
Serializable

public class DelayedRegionSet
extends RegionSet

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class lapis.RegionSet
RegionSet.IntersectOp
 
Field Summary
 
Fields inherited from class lapis.RegionSet
debug, DISJOINT, EMPTY, EQUAL, MAX_INDEX, MIN_INDEX, SUBSET, SUPERSET, UNRELATED
 
Constructor Summary
DelayedRegionSet(Pattern pat, Document doc)
           
 
Method Summary
 RegionSet freeze()
          Make a copy of this region set.
 SingleDocRegionSet getSingleDocRegionSet(Document doc)
           
 int getSize()
           
 Versions getVersions()
           
 RegionEnumeration regions(Region bbox)
           
 RegionEnumeration regions(RegionSet bboxs)
          enumerate regions in each bounding box from each document
 SubsetEnumeration singleDocize()
           
 
Methods inherited from class lapis.RegionSet
after, afterDelimited, afterIn, ancestor, and, balancedWith, before, beforeDelimited, beforeIn, butnot, compareTo, contains, convert, convert, convertToLatest, countIntersection, crispen, descendant, ending, endingContains, endingDelimited, endingIn, endOf, equals, equalTo, flatten, fromTo, getDocuments, getUniversal, hashCode, highlight, in, include, intersect, intersects, intersects, isAllPoints, isCrisp, isEmpty, isFlat, justAfter, justAfterDelimited, justBefore, justBeforeDelimited, melt, mightEnclose, mightIntersect, nextTo, nth, or, overlaps, overlapsEnd, overlapsStart, regions, separatedBy, slowEquals, starting, startingContains, startingDelimited, startingIn, startOf, stripEmptyRegions, subsets, toString, toStringWithContent, trim
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelayedRegionSet

public DelayedRegionSet(Pattern pat,
                        Document doc)
Method Detail

getSize

public int getSize()
Specified by:
getSize in class RegionSet

regions

public RegionEnumeration regions(Region bbox)
Specified by:
regions in class RegionSet

regions

public RegionEnumeration regions(RegionSet bboxs)
Description copied from class: RegionSet
enumerate regions in each bounding box from each document

Specified by:
regions in class RegionSet
Parameters:
bboxs - region set consisting of bounding boxes, one from each document
Returns:
region enumeration

freeze

public RegionSet freeze()
Description copied from class: RegionSet
Make a copy of this region set.

Specified by:
freeze in class RegionSet
Returns:
an instance of this RegionSet that nobody else can modify (may be the same object reference, if this RegionSet subclass is immutable)

singleDocize

public SubsetEnumeration singleDocize()
Specified by:
singleDocize in class RegionSet

getSingleDocRegionSet

public SingleDocRegionSet getSingleDocRegionSet(Document doc)
Specified by:
getSingleDocRegionSet in class RegionSet

getVersions

public Versions getVersions()
Specified by:
getVersions in class RegionSet