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 {@link ObservableList}, is a subclass of {@link Observable}, but can also be viewed as a subclass of {@link ArrayList} (or whatever implementation of {@link List} you choose in the constructor. The {@link 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) |