Packages that use Observer
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Methods in java.util with parameters of type Observer
Modifier and Type
Observable. ( addObserver Observer o)
Adds an observer to the set of observers for this object, provided
that it is not the same as some observer already in the set.
Observable. ( deleteObserver Observer o)
Deletes an observer from the set of observers of this object.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2019, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy.