Source code: com/chaoswg/xtc4y/test/classloaders/AbstractClass.java
1 //$Header: /cvsroot/xtc4y/xtc4y/src/com/chaoswg/xtc4y/test/classloaders/AbstractClass.java,v 1.1.1.1 2003/08/07 13:40:26 toggm Exp $
2 /******************************************************************************
3 * XTC4y - eXtreme Testing Collection 4 you *
4 * -------------------------------------------------------------------------- *
5 * URL: http://www.chaoswg.com/xtc4y *
6 * Author: Mike Toggweiler (2.dog@gmx.ch) *
7 * *
8 * Last Updated: $Date: 2003/08/07 13:40:26 $, by $Author: toggm $ *
9 * Version: $Revision: 1.1.1.1 $ *
10 * -------------------------------------------------------------------------- *
11 * COPYRIGHT: (c) 2003 by Mike Toggweiler *
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 *****************************************************************************/
18 package com.chaoswg.xtc4y.test.classloaders;
19
20 import java.awt.event.ActionListener;
21 import java.awt.event.ActionEvent;
22
23 /**
24 * A simple abstract class to test the classloader
25 * @author Mike Toggweiler
26 **/
27 public abstract class AbstractClass implements Ifc {
28 public AbstractClass() {
29
30 }
31
32 public abstract Object getAbstractObject();
33 public abstract int getAbstractInt();
34 public abstract float getAbstractFloat();
35 public abstract double getAbstractDouble();
36 public abstract long getAbstractLong();
37 public abstract short getAbstractShort();
38 public abstract byte getAbstractByte();
39 public abstract void getAbstractVoid();
40
41 public Object getObject() { return new Object(); }
42 public int getInt() { return 50005; }
43 public float getFloat() { return 5f; }
44 public double getDouble() { return 5d; }
45 public long getLong() { return 5l; }
46 public short getShort() { return (short)5; }
47 public byte getByte() { return (byte)5; }
48 public void getVoid() { }
49
50 public int testCalc() {
51 int a = 2;
52 int b = 1;
53
54 getObject();
55
56 //int[] ia3 = new int[4];
57 //Object[] ia = new Object[5];
58 //Object[][][] ia2 = new Object[4][5][6];
59
60 return a+b+56022;
61 }
62
63 public static void main(String[] argv) {
64 /*ActionListener al = new ActionListener() {
65 public void actionPerformed(ActionEvent ae) {
66 }
67 };
68
69 al.actionPerformed(null);*/
70 }
71 }