KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > chemistry > Bond


1 package JSci.chemistry;
2
3 /**
4 * A bond between two atoms.
5 */

6 public abstract class Bond extends Object JavaDoc {
7         protected final Atom atom1;
8         protected final Atom atom2;
9
10         public Bond(Atom a, Atom b) {
11                 atom1 = a;
12                 atom2 = b;
13         }
14 }
15
16
Popular Tags