Delegate
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class Delegate
Represents a delegate, which refers to a class instance that has a method to be invoked.
| Constructor | Description |
|---|---|
| Delegate() |
| Method | Description |
|---|---|
| getInvocationList() | Returns an invocation list. |
| combine(Delegate a, Delegate b) | Combines two delegates into one. |
| combine(Delegate[] delegates) | Combines several delegates into one. |
| remove(Delegate source, Delegate value) | Removes the value delegate from the source delegate. |
| removeAll(Delegate source, Delegate value) | Removes the value delegate from the source delegate. |
| op_Equality(Delegate d1, Delegate d2) | Checks two delegates for equality. |
| op_Inequality(Delegate d1, Delegate d2) | Checks two delegates for inequality. |
public Delegate()
public Delegate[] getInvocationList()
Returns an invocation list.
Returns: com.groupdocs.search.common.Delegate[] - An invocation list.
public static Delegate combine(Delegate a, Delegate b)
Combines two delegates into one.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| a | Delegate | The first delegate to combine. |
| b | Delegate | The second delegate to combine. |
Returns: Delegate - A new combined delegate.
public static Delegate combine(Delegate[] delegates)
Combines several delegates into one.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| delegates | Delegate[] | The delegates to combine. |
Returns: Delegate - A new combined delegate.
public static Delegate remove(Delegate source, Delegate value)
Removes the value delegate from the source delegate.
Parameters:
Returns: Delegate - A new delegate that is a result of removing.
public static Delegate removeAll(Delegate source, Delegate value)
Removes the value delegate from the source delegate.
Parameters:
Returns: Delegate - A new delegate that is a result of removing.
public static boolean op_Equality(Delegate d1, Delegate d2)
Checks two delegates for equality.
Parameters:
Returns: boolean - The result of checking two delegates for equality.
public static boolean op_Inequality(Delegate d1, Delegate d2)
Checks two delegates for inequality.
Parameters:
Returns: boolean - The result of checking two delegates for inequality.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.