|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsrc.Entry
public class Entry
La classe pour l'index : un mot et sa liste. de page
| Constructor Summary | |
|---|---|
Entry(java.lang.String w,
SortedListOfInteger ps)
Constructeur d'une entree. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.Integer page)
Ajoute une page dans la liste de l'entree. |
int |
compareTo(Entry other)
Fonction de comparaisons. 0: egalite, -: inferieur, +: superieur |
java.lang.String |
getMot()
|
SortedListOfInteger |
getPages()
|
void |
setMot(java.lang.String mot)
|
void |
setPages(SortedListOfInteger pages)
|
java.lang.String |
toString()
Representation en string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Entry(java.lang.String w,
SortedListOfInteger ps)
w - le motps - les pages| Method Detail |
|---|
public void add(java.lang.Integer page)
page - une pagepublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(Entry other)
other - une entree
public java.lang.String getMot()
public void setMot(java.lang.String mot)
mot - the mot to setpublic SortedListOfInteger getPages()
public void setPages(SortedListOfInteger pages)
pages - the pages to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||