This method of the Delegate class contains the following signatures.
remove(Delegate delValue)
remove(Delegate delSource, Delegate delValue)
This method of the Delegate class returns a Delegate with an invocation list formed by removing the last occurrence (if any) of the Delegate given by the value parameter from the invocation list of this Delegate. This method is overridden in the MulticastDelegate class to support multicasting.
protected Delegate remove(Delegate delValue);
delValue | The Delegate value. |
This method of the Delegate class returns a Delegate with an invocation list formed by removing the last occurrence (if any) of the Delegate given by the value parameter from the invocation list of the Delegate given by the source parameter. The Delegate removed from the invocation list is the last Delegate that refers to the same method on the same object as the value parameter. If the value parameter is null, or if the Delegate given by the value parameter does not appear on the invocation list of the source, the result is the source parameter. If the resulting invocation list is empty, the result is null. If the source parameter is null, the result is null.
public static final Delegate remove(Delegate delSource, Delegate delValue);
delSource | Delegate source. |
delValue | Delegate value. |