|
MoreMotion Face API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Accumulator
A utility class to accumulate strings delimited with the specified delimiter.
Example:
var a = new Accumulator(",");
a.add("AAA");
alert(a.toString()); // result "AAA"
a.add("BBB");
a.add("CCC");
alert(a.toString()); // result "AAA,BBB,CCC"
Constructor Summary | |
Accumulator(dlm)
|
Method Summary | |
void
|
add(s)
Adds the given string to this accumulator |
Object
|
toString()
Returns the accumulated string |
Constructor Detail |
Accumulator(dlm)
Method Detail |
void add(s)
s
- The string to add to the accumulator
Object toString()
|
MoreMotion Face API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |