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 theIRegion
interface.
-
-
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 boolean
equals(Object o)
int
getLength()
Returns the length of the region.int
getOffset()
Returns the offset of the region.int
hashCode()
String
toString()
-