|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.ir.retrievalmodels.representation.suffixtree.Suffix
public class Suffix
A suffix contains a reference to the text which contains it, the index it begins inside the text and a reference to the succeeding suffix if there is any.
Constructor Summary | |
---|---|
Suffix()
|
Method Summary | |
---|---|
int |
getId()
Gets the id associated with the text which contains this suffix. |
int |
getIndex()
Gets the index value the suffix begins at within the text. |
Suffix |
getSucceedingSuffix()
Gets the reference to the suffix which succeeds this instance in the text. |
java.lang.String |
getText()
Gets the reference to the text which contains the suffix. |
void |
setId(int id)
Sets the reference to the text which contains this suffix via an id. |
void |
setIndex(int index)
Sets the index value the suffix begins at within the text. |
void |
setSucceedingSuffix(Suffix succSuffix)
Sets a reference to the suffix which succeeds this instance in the text. |
void |
setText(java.lang.String text)
Sets the reference to the text which contains the suffix. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Suffix()
Method Detail |
---|
public void setText(java.lang.String text)
text
- A reference to a text.public java.lang.String getText()
public void setIndex(int index)
index
- An integer.public int getIndex()
public void setSucceedingSuffix(Suffix succSuffix)
succSuffix
- The succeeding suffix of this instance.public Suffix getSucceedingSuffix()
public void setId(int id)
id
- the id of the text which contains this suffixpublic int getId()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |