|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.niffty.SymbolPositioner
Constructor Summary | |
SymbolPositioner()
Creates new SymbolPositioner |
Method Summary | |
void |
add(Rational startTime,
int symbolsToLeft)
Add a new entry to the positions list for the given startTime, with the given symbolsToLeft. |
int |
getSymbolCount()
Return the total symbol count for all the positions, where for each position, there is 1 for the center symbol plus the symbols to left. |
int |
getSymbolPosition(Rational startTime)
Get the position of the symbol for the given startTime. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SymbolPositioner()
Method Detail |
public void add(Rational startTime, int symbolsToLeft)
public int getSymbolCount()
public int getSymbolPosition(Rational startTime)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |