gate.gui
Class AnnotationEditor.Range
java.lang.Object
|
+--gate.gui.AnnotationEditor.Range
- All Implemented Interfaces:
- Comparable
- Enclosing class:
- AnnotationEditor
- class AnnotationEditor.Range
- extends Object
- implements Comparable
Describes a range in the AnnotationEditor.data
structure. A range is a bunch of
annotations of the same type belonging to the same annotation set that
are contiguous in the AnnotationEditor.data
structure.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
setName
String setName
type
String type
start
int start
end
int end
AnnotationEditor.Range
public AnnotationEditor.Range(String setName,
String type,
int start,
int end)
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(Object other)
- Specified by:
compareTo
in interface Comparable