Package org.eclipse.jface.text
Class Region
- java.lang.Object
-
- org.eclipse.jface.text.Region
-
- All Implemented Interfaces:
IRegion
- Direct Known Subclasses:
TypedRegion
public class Region extends Object implements IRegion
The default implementation of theIRegioninterface.
-
-
Constructor Summary
Constructors Constructor Description Region(int offset, int length)Create a new region.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLength()Returns the length of the region.intgetOffset()Returns the offset of the region.inthashCode()StringtoString()
-