public class Region extends java.lang.Object implements IRegion
IRegion interface.| Constructor and Description |
|---|
Region(int offset,
int length)
Create a new region.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getLength()
Returns the length of the region.
|
int |
getOffset()
Returns the offset of the region.
|
int |
hashCode() |
java.lang.String |
toString() |
public Region(int offset,
int length)
offset - the offset of the regionlength - the length of the regionpublic int getLength()
IRegionpublic int getOffset()
IRegionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.