KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > physics > Force


1 package JSci.physics;
2
3 import JSci.maths.vectors.AbstractDoubleVector;
4
5 /**
6 * A superclass for forces.
7 * @version 1.0
8 */

9 public abstract class Force extends Object JavaDoc implements java.io.Serializable JavaDoc {
10         /**
11         * Constructs a force.
12         */

13         public Force () {}
14         /**
15         * Returns a vector representing this force at a time <code>t</code>.
16         */

17         public abstract AbstractDoubleVector getVector(double t);
18 }
19
20
Popular Tags