org.apache.ws.jaxme.js.junit
Class MultipleInheritanceTest
TestCase
org.apache.ws.jaxme.js.junit.MultipleInheritanceTest
- Observer
public class MultipleInheritanceTest
extends TestCase
implements Observer
This example demonstrates implementation of multiple
inheritance with the ProxyGenerator. The class MyObservableList,
an extension of
ObservableList
, is a subclass of
Observable
, but can also be viewed as a subclass
of
ArrayList
(or whatever implementation of
List
you choose in the constructor. The
Observers
are notified whenever an object
is added to the list.
$Id: MultipleInheritanceTest.java 231785 2004-02-17 00:39:59 +0100 (Tue, 17 Feb 2004) jochen $
MultipleInheritanceTest
public MultipleInheritanceTest(String arg0)
testObserver
public void testObserver()
update
public void update(Observable o,
Object arg)