|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FrequencyStack
A stack for frequencies.
| Method Summary | |
|---|---|
int |
getFrequency(int height)
Returns the frequency stored on height of stack. |
void |
increaseFrequency(int stackHeight,
int value)
Increases the frequency stored on stackHeight level of stack by value, if stackHeight is the top of stack, or stackHeight is top of stack + 1 |
void |
popFrequency(int height)
This method deletes the heightTH element of stack. |
| Method Detail |
|---|
void increaseFrequency(int stackHeight,
int value)
stackHeight - describes the level of stack, counted from bottom on which the value is addedvalue - is the amount addedvoid popFrequency(int height)
int getFrequency(int height)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||