org.apache.ws.jaxme.js.junit
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
Observer Observers
are notified whenever an object
is added to the list.
Version: $Id: MultipleInheritanceTest.java 231785 2004-02-16 23:39:59Z jochen $
Nested Class Summary | |
---|---|
class | MultipleInheritanceTest.MyObservableList |
Constructor Summary | |
---|---|
MultipleInheritanceTest(String arg0) |
Method Summary | |
---|---|
void | testObserver() |
void | update(Observable o, Object arg) |