com.threerings.util
Interface WeakObserverSet.ObserverOp<T>

Enclosing class:
WeakObserverSet<T>

public static interface WeakObserverSet.ObserverOp<T>

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


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

Method Detail

apply

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

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


Copyright © 2011. All Rights Reserved.