|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.feedback.HintHistory
public class HintHistory
| Constructor Summary | |
|---|---|
HintHistory(int size)
|
|
| Method Summary | |
|---|---|
List |
getList()
|
Therapy |
getTherapyAt(int pos)
gets the Therapy at the specified index from this HintHistory. |
Iterator |
hintIterator()
returns an iterator over the items in the hint history |
Therapy |
peek()
peeks at the most recent item in the history. |
void |
push(Therapy t)
pushes the given therapy to the start of this HintHistory, hereby possibly kicking out an older entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HintHistory(int size)
| Method Detail |
|---|
public Therapy peek()
public Therapy getTherapyAt(int pos)
pos - the position of the desired element in the list
public void push(Therapy t)
t - The therapy to add to this HintHistory.public Iterator hintIterator()
public List getList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||