|
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.IntString
This class holds an integer and a String, corresponding to a position at which to insert text, and the text to be inserted at that position.
| Field Summary | |
int |
offset
The position at which to insert some text. |
String |
text
The text to be inserted at the given position. |
| Constructor Summary | |
JmlHTML.IntString(int offset,
String text)
A constructor, taking an integer position and the text to be inserted at that position. |
|
| Method Summary | |
int |
compareTo(Object p)
The comparison method 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 String text
| Constructor Detail |
public JmlHTML.IntString(int offset,
String text)
| 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 | ||||||||||