| Package | Description |
|---|---|
| com.helger.commons.callback | |
| com.helger.commons.callback.adapter | |
| com.helger.commons.concurrent.collector |
| Modifier and Type | Interface and Description |
|---|---|
interface |
INonThrowingRunnableWithParameter<PARAMTYPE>
Simple callback interface to allow generic iteration with a typed callback
function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AdapterRunnableToRunnableWithParameter<PARAMTYPE>
A helper class that converts a
Runnable into an
IThrowingRunnableWithParameter. |
class |
AdapterRunnableToThrowingRunnableWithParameter<PARAMTYPE>
A helper class that converts a
Runnable into an
IThrowingRunnableWithParameter. |
| Modifier and Type | Method and Description |
|---|---|
IThrowingRunnableWithParameter<PARAMTYPE> |
AdapterThrowingRunnableToCallableWithParameter.getRunnable() |
| Modifier and Type | Method and Description |
|---|---|
static <PARAMTYPE> |
AdapterThrowingRunnableToCallableWithParameter.createAdapter(IThrowingRunnableWithParameter<PARAMTYPE> aRunnable)
Create a callable that always returns
null. |
static <DATATYPE,PARAMTYPE> |
AdapterThrowingRunnableToCallableWithParameter.createAdapter(IThrowingRunnableWithParameter<PARAMTYPE> aRunnable,
DATATYPE aResult)
Create a callable that always returns the passed value.
|
| Constructor and Description |
|---|
AdapterThrowingRunnableToCallableWithParameter(IThrowingRunnableWithParameter<PARAMTYPE> aRunnable) |
AdapterThrowingRunnableToCallableWithParameter(IThrowingRunnableWithParameter<PARAMTYPE> aRunnable,
DATATYPE aResult) |
| Modifier and Type | Method and Description |
|---|---|
protected IThrowingRunnableWithParameter<DATATYPE> |
ConcurrentCollectorSingle.getPerformer() |
protected IThrowingRunnableWithParameter<List<DATATYPE>> |
ConcurrentCollectorMultiple.getPerformer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConcurrentCollectorSingle.setPerformer(IThrowingRunnableWithParameter<DATATYPE> aPerformer)
Set the performer to be used.
|
protected void |
ConcurrentCollectorMultiple.setPerformer(IThrowingRunnableWithParameter<List<DATATYPE>> aPerformer)
Set the performer to be used.
|
Copyright © 2014–2015 Philip Helger. All rights reserved.