/trunk/Examples/test-suite/java/multiple_inheritance_runme.java
Java | 32 lines | 23 code | 9 blank | 0 comment | 0 complexity | f5ee2f196345b64d81455c411e4a353c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- import multiple_inheritance.*;
- public class multiple_inheritance_runme {
- static {
- try {
- System.loadLibrary("multiple_inheritance");
- } catch (UnsatisfiedLinkError e) {
- System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
- System.exit(1);
- }
- }
- public static void main(String argv[]) {
- FooBar fooBar = new FooBar();
- fooBar.foo();
- IgnoreDerived1 ignoreDerived1 = new IgnoreDerived1();
- ignoreDerived1.bar();
- IgnoreDerived2 ignoreDerived2 = new IgnoreDerived2();
- ignoreDerived2.bar();
- IgnoreDerived3 ignoreDerived3 = new IgnoreDerived3();
- ignoreDerived3.bar();
- IgnoreDerived4 ignoreDerived4 = new IgnoreDerived4();
- ignoreDerived4.bar();
- }
- }