Package org.eclipse.jface.text
Class TypedRegion
java.lang.Object
org.eclipse.jface.text.Region
org.eclipse.jface.text.TypedRegion
- All Implemented Interfaces:
IRegion
,ITypedRegion
Default implementation of
ITypedRegion
. A
TypedRegion
is a value object.-
Constructor Details
-
TypedRegion
Creates a typed region based on the given specification.- Parameters:
offset
- the region's offsetlength
- the region's lengthtype
- the region's type
-
-
Method Details
-
getType
Description copied from interface:ITypedRegion
Returns the content type of the region.- Specified by:
getType
in interfaceITypedRegion
- Returns:
- the content type of the region
-
equals
-
hashCode
public int hashCode() -
toString
-