- java.lang.Object
-
- org.joni.Region
-
- Direct Known Subclasses:
MultiRegion
,SingleRegion
public abstract class Region extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected CaptureTreeNode
historyRoot
(package private) static int
REGION_NOTPOS
-
Constructor Summary
Constructors Constructor Description Region()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract void
clear()
abstract Region
clone()
abstract int
getBeg(int index)
(package private) CaptureTreeNode
getCaptureTree()
abstract int
getEnd(int index)
abstract int
getNumRegs()
static Region
newRegion(int num)
static Region
newRegion(int begin, int end)
abstract int
setBeg(int index, int value)
(package private) CaptureTreeNode
setCaptureTree(CaptureTreeNode ctn)
abstract int
setEnd(int index, int value)
java.lang.String
toString()
-
-
-
Field Detail
-
REGION_NOTPOS
static final int REGION_NOTPOS
- See Also:
- Constant Field Values
-
historyRoot
protected CaptureTreeNode historyRoot
-
-
Method Detail
-
newRegion
public static Region newRegion(int num)
-
newRegion
public static Region newRegion(int begin, int end)
-
clone
public abstract Region clone()
- Overrides:
clone
in classjava.lang.Object
-
getNumRegs
public abstract int getNumRegs()
-
getBeg
public abstract int getBeg(int index)
-
setBeg
public abstract int setBeg(int index, int value)
-
getEnd
public abstract int getEnd(int index)
-
setEnd
public abstract int setEnd(int index, int value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getCaptureTree
CaptureTreeNode getCaptureTree()
-
setCaptureTree
CaptureTreeNode setCaptureTree(CaptureTreeNode ctn)
-
clear
abstract void clear()
-
-