1 /*
2 * Jour - java profiler and monitoring library
3 *
4 * Copyright (C) 2004 Jour team
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 */
21 package uut;
22
23 /***
24 * Used for simple tests has only one method. Use the pair Class01 and Class02
25 *
26 * Created on 12.12.2004
27 * Contributing Author(s):
28 *
29 * Misha Lifschitz <mishalifschitz at users.sourceforge.net> (Inital implementation)
30 * Vlad Skarzhevskyy <vlads at users.sourceforge.net> (Inital implementation)
31 *
32 * @author vlads
33 * @version $Revision: 1.1 $ ($Author: vlads $) $Date: 2004/12/13 06:19:10 $
34 */
35 public class Class01 {
36
37 public static void main(String[] args) {
38
39 System.out.println("Class01.main()");
40
41 Class01 main = new Class01();
42
43 main.method1();
44 while (true) {
45 try {
46 Thread.sleep(200);
47 } catch (InterruptedException e) {
48 break;
49 }
50 main.method1();
51 }
52 }
53
54 public void method1() {
55 System.out.println("Class01.method1()");
56 }
57 }
58