|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmlspecs.jmldoc.jmldoc_142.JmlHTML.IntPair
This class holds a pair of integers, used here to mark the start and (one past the) end of a section of a text string.
| Field Summary | |
int |
end
One past the end of the marked text substring |
int |
offset
The beginning of the marked text substring |
| Constructor Summary | |
JmlHTML.IntPair(int offset,
int end)
The constructor for the pair of integers |
|
| Method Summary | |
int |
compareTo(Object p)
The comparison function that implements the Comparable interface. |
boolean |
equals(Object p)
The equality method that implements the Comparable interface. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int offset
public int end
| Constructor Detail |
public JmlHTML.IntPair(int offset,
int end)
| Method Detail |
public int compareTo(Object p)
compareTo in interface Comparablepublic boolean equals(Object p)
equals in class Object
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||