KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nanocontainer > testmodel > B


1 package org.nanocontainer.testmodel;
2
3 import junit.framework.Assert;
4
5
6 /**
7  * @author Mauro Talevi
8  */

9 public class B extends X {
10     public A a;
11
12     public B(A a) {
13         Assert.assertNotNull(a);
14         this.a = a;
15     }
16
17     public A getA() {
18         return a;
19     }
20 }
21
Popular Tags