Package | Description |
---|---|
agi.foundation.compatibility | |
agi.foundation.infrastructure.threading |
Contains types used to perform and manage calculations among multiple threads of execution.
|
Modifier and Type | Method and Description |
---|---|
static ProgressChangedEventHandler |
ProgressChangedEventHandler.combine(ProgressChangedEventHandler a,
ProgressChangedEventHandler b)
Combines two delegate instances, forming a new delegate that will invoke both
delegates when invoked.
|
static ProgressChangedEventHandler |
ProgressChangedEventHandler.of(ProgressChangedEventHandler.Function f)
Create a delegate for the given interface.
|
static ProgressChangedEventHandler |
ProgressChangedEventHandler.of(ProgressChangedEventHandler.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static ProgressChangedEventHandler |
ProgressChangedEventHandler.of(ProgressChangedEventHandler.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static ProgressChangedEventHandler |
ProgressChangedEventHandler.remove(ProgressChangedEventHandler source,
ProgressChangedEventHandler value)
Removes one delegate from another, if it was previously combined.
|
Modifier and Type | Method and Description |
---|---|
static ProgressChangedEventHandler |
ProgressChangedEventHandler.combine(ProgressChangedEventHandler a,
ProgressChangedEventHandler b)
Combines two delegate instances, forming a new delegate that will invoke both
delegates when invoked.
|
static ProgressChangedEventHandler |
ProgressChangedEventHandler.remove(ProgressChangedEventHandler source,
ProgressChangedEventHandler value)
Removes one delegate from another, if it was previously combined.
|
Modifier and Type | Method and Description |
---|---|
void |
BackgroundCalculation.addProgressChanged(ProgressChangedEventHandler value)
Adds a handler for an event that occurs when
BackgroundCalculation.reportProgress(int, java.lang.Object) is called. |
void |
BackgroundCalculation.removeProgressChanged(ProgressChangedEventHandler value)
Removes a handler for an event that occurs when
BackgroundCalculation.reportProgress(int, java.lang.Object) is called. |