|
Building Parsers with Java | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--sjm.examples.sling.SlingFunction
|
+--sjm.examples.sling.T
This class represents time, which the Sling environment defines to vary from 0 to 1 as a plot unfolds.
| Fields inherited from class sjm.examples.sling.SlingFunction |
source |
| Constructor Summary | |
T()
|
|
| Method Summary | |
Point |
f(double t)
Returns the given time |
java.lang.String |
toString()
Returns a string representation of the time function. |
| Methods inherited from class sjm.examples.sling.SlingFunction |
eval,
extrema,
fresh |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public T()
| Method Detail |
public Point f(double t)
t - a number that represents how far along a plot
is, and thus tells which point to returnpublic java.lang.String toString()
|
by Steve Metsker | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||