|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContinuousDQueue
like double[] except doubles can be at double indexs [3.14] instead of only int indexs [3].
You can add any positive amount of index (and a value for that range),
or remove any positive amount of index (an get its value).
For example, to consume aCDQ's entire micQueue and get its average value,
use aCDQ.cdqRemove(aCDQ.cdqSize()).
TODO: THIS CLASS SHOULD BE CONNECTED TO CLASS Wave, probably by renaming its functions.
TODO: Class Wave should be merged with class CS.
Method Summary | |
---|---|
void |
cdqAdd(double value,
double size)
increases cdqSize() |
double |
cdqRemove(double size)
size <= cdqSize(). |
double |
cdqSize()
how many doubles in this micQueue |
Method Detail |
---|
void cdqAdd(double value, double size)
double cdqRemove(double size)
double cdqSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |