public static class CodeEditorHighlighter.HighlightZone extends java.lang.Object implements java.lang.Comparable<CodeEditorHighlighter.HighlightZone>
Constructor and Description |
---|
HighlightZone(int startOffset,
int endOffset)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CodeEditorHighlighter.HighlightZone zone) |
boolean |
equals(java.lang.Object obj) |
int |
getEndOffset()
Return the end offset.
|
int |
getStartOffset()
Return the start offset.
|
int |
hashCode() |
public HighlightZone(int startOffset, int endOffset)
startOffset
- the start offsetendOffset
- the end offsetpublic int getStartOffset()
public int getEndOffset()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(CodeEditorHighlighter.HighlightZone zone)
compareTo
in interface java.lang.Comparable<CodeEditorHighlighter.HighlightZone>
Copyright © 2016, 2017, 2018, 2019, 2023 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence