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
This commit is contained in:
parent
3d05b15f10
commit
548ce8be4a
12 changed files with 202 additions and 130 deletions
|
@ -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 <warrenl@cygnus.com>
|
||||
* @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 <code>notifyObservers</code>. 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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue