From 548ce8be4ab154b7d7f42ae8fe8552f9888021d0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 16 Jun 2002 21:15:44 +0000 Subject: RuntimeException.java: Re-merge with Classpath. * java/lang/RuntimeException.java: Re-merge with Classpath. * java/util/ArrayList.java: Likewise. * java/util/Arrays.java: Likewise. * java/util/BitSet.java: Likewise. * java/util/Dictionary.java: Likewise. * java/util/IdentityHashMap.java: Likewise. * java/util/MissingResourceException.java: Likewise. * java/util/Observer.java: Likewise. * java/util/TooManyListenersException.java: Likewise. * java/util/zip/DataFormatException.java: Likewise. * java/util/zip/ZipException.java: Likewise. From-SVN: r54680 --- libjava/java/util/Observer.java | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'libjava/java/util/Observer.java') diff --git a/libjava/java/util/Observer.java b/libjava/java/util/Observer.java index d18170de3a1..a703e90099e 100644 --- a/libjava/java/util/Observer.java +++ b/libjava/java/util/Observer.java @@ -1,6 +1,5 @@ -/* Implemented when a class wants to be informed of changes in Observable - objects. - Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. +/* Observer.java -- an object that will be informed of changes in an Observable + Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -39,21 +38,23 @@ exception statement from your version. */ package java.util; -/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 - * "The Java Language Specification", ISBN 0-201-63451-1 - * plus online API docs for JDK 1.2 beta from http://www.javasoft.com. - * Status: Believed complete and correct - */ - /** * Interface that is implemented when a class wants to be informed of changes * in Observable objects. * - * @see java.util.Observable * @author Warren Levy - * @date August 25, 1998. + * @see Observable + * @status updated to 1.4 */ public interface Observer { + /** + * This method is called whenever the observable object changes, and has + * called notifyObservers. The Observable object can pass + * arbitrary information in the second parameter. + * + * @param observable the Observable object that changed + * @param arg arbitrary information, usually relating to the change + */ public void update(Observable observable, Object arg); } -- cgit v1.2.3