|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsears.search.data.Window
public class Window
Iterator class for manage int array of char index
Constructor Summary | |
---|---|
Window()
Constructs an empty window |
|
Window(java.lang.String text,
java.lang.String str)
Constructs a window with parameters given |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
Window |
getEmptyClonedWindow()
Returns an empty cloned Window object or a new instance if clone method failed |
int |
getNextCharIndex()
A char index is always positive, this method returns the next char index |
int |
getPreviousCharIndex()
A char index is always positive, this method returns the previous char index |
void |
setWindowForGettingNextElement(java.lang.String text,
java.lang.String str)
Sets a new window |
void |
setWindowForGettingPreviousElement(java.lang.String text,
java.lang.String str)
Sets a new window |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Window()
public Window(java.lang.String text, java.lang.String str)
text
- the textstr
- the str to search in textMethod Detail |
---|
public void setWindowForGettingNextElement(java.lang.String text, java.lang.String str)
text
- the textstr
- the string to search in textpublic void setWindowForGettingPreviousElement(java.lang.String text, java.lang.String str)
text
- the textstr
- the string to search in textpublic int getNextCharIndex()
public int getPreviousCharIndex()
public java.lang.Object clone()
clone
in class java.lang.Object
public Window getEmptyClonedWindow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |