| Package | Description |
|---|---|
| com.helger.commons.callback.adapter |
| 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.
|
Copyright © 2014–2015 Philip Helger. All rights reserved.