public class TypedRegion extends Region implements ITypedRegion
ITypedRegion
. A
TypedRegion
is a value object.Constructor and Description |
---|
TypedRegion(int offset,
int length,
String type)
Creates a typed region based on the given specification.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getType()
Returns the content type of the region.
|
int |
hashCode() |
String |
toString() |
public TypedRegion(int offset, int length, String type)
offset
- the region's offsetlength
- the region's lengthtype
- the region's typepublic String getType()
ITypedRegion
getType
in interface ITypedRegion
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.