|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttp0.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)
Creation d'une nouvelle 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. |
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 - ps - | Method Detail |
|---|
public void add(java.lang.Integer page)
page - public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(Entry other)
other -
public java.lang.String getMot()
public void setMot(java.lang.String mot)
mot - le mot a changerpublic SortedListOfInteger getPages()
public void setPages(SortedListOfInteger pages)
pages - les pages a changer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||