KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > InnerClassTestObject


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest;
5
6 /**
7  * @author steve To change the template for this generated type comment go to Window>Preferences>Java>Code
8  * Generation>Code and Comments
9  */

10 public class InnerClassTestObject {
11   private InnerClass myInner;
12
13   /**
14    *
15    */

16   public InnerClassTestObject() {
17     super();
18     myInner = new InnerClass();
19   }
20
21   protected InnerClass getMyInner() {
22     return myInner;
23   }
24
25   private String JavaDoc getHelloWorld() {
26     return "Hello World";
27   }
28
29   public class InnerClass {
30     String JavaDoc myString;
31
32     public void test() {
33       this.myString = getHelloWorld() + System.currentTimeMillis();
34     }
35
36   }
37
38 }
Popular Tags