| Package | Description |
|---|---|
| com.helger.commons.callback | |
| com.helger.commons.callback.adapter |
| 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,EXTYPE extends Throwable>
A helper class that converts a
Runnable into an
IThrowingRunnableWithParameter. |
| Modifier and Type | Method and Description |
|---|---|
IThrowingRunnableWithParameter<PARAMTYPE,EXTYPE> |
AdapterThrowingRunnableToCallableWithParameter.getRunnable() |
| Modifier and Type | Method and Description |
|---|---|
static <PARAMTYPE,EXTYPE extends Exception> |
AdapterThrowingRunnableToCallableWithParameter.createAdapter(IThrowingRunnableWithParameter<PARAMTYPE,EXTYPE> aRunnable)
Create a callable that always returns
null. |
static <DATATYPE,PARAMTYPE,EXTYPE extends Exception> |
AdapterThrowingRunnableToCallableWithParameter.createAdapter(IThrowingRunnableWithParameter<PARAMTYPE,EXTYPE> aRunnable,
DATATYPE aResult)
Create a callable that always returns the passed value.
|
| Constructor and Description |
|---|
AdapterThrowingRunnableToCallableWithParameter(IThrowingRunnableWithParameter<PARAMTYPE,EXTYPE> aRunnable) |
AdapterThrowingRunnableToCallableWithParameter(IThrowingRunnableWithParameter<PARAMTYPE,EXTYPE> aRunnable,
DATATYPE aResult) |
Copyright © 2014–2016 Philip Helger. All rights reserved.