com.samskivert.util
Interface ObserverList.ObserverOp<T>

All Known Implementing Classes:
WeakObserverList.DerefOp
Enclosing class:
ObserverList<T>

public static interface ObserverList.ObserverOp<T>

Instances of this interface are used to apply methods to all observers in a list.


Method Summary
 boolean apply(T observer)
          Called once for each observer in the list.
 

Method Detail

apply

boolean apply(T observer)
Called once for each observer in the list.

Returns:
true if the observer should remain in the list, false if it should be removed in response to this application.


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.