com.h3c.util.observer

## Interface Observable<T>

- Type Parameters:
    `T` - type of the observer (listener).
  All Known Subinterfaces:
    ListenerHandler<T>
  All Known Implementing Classes:
    AbstractListenerHandler, MultiThreadListenerHandler, SingleThreadListenerHandler

      public interface Observable<T>

  Observable.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `register(T observer)` Registers an observer (listener).
    `void` | `unregister(T observer)` Unregisters an observer (listener).

- - ### Method Detail

    - #### register

          void register(T observer)

      Registers an observer (listener).
      Parameters:
        `observer` - observer to register

    - #### unregister

          void unregister(T observer)

      Unregisters an observer (listener).
      Parameters:
        `observer` - observer to unregister

Copyright © 2014. All Rights Reserved.