- java.lang.Object
-
- org.joni.Region
-
- org.joni.SingleRegion
-
public class SingleRegion extends Region
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
beg
(package private) int
end
-
Fields inherited from class org.joni.Region
historyRoot, REGION_NOTPOS
-
-
Constructor Summary
Constructors Constructor Description SingleRegion(int num)
SingleRegion(int begin, int end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
clear()
SingleRegion
clone()
int
getBeg(int index)
int
getEnd(int index)
int
getNumRegs()
int
setBeg(int index, int value)
int
setEnd(int index, int value)
-
Methods inherited from class org.joni.Region
getCaptureTree, newRegion, newRegion, setCaptureTree, toString
-
-
-
-
Method Detail
-
getNumRegs
public int getNumRegs()
- Specified by:
getNumRegs
in classRegion
-
clone
public SingleRegion clone()
-
-