| Package | Description |
|---|---|
| com.helger.commons.callback.adapter | |
| com.helger.commons.scope |
| Modifier and Type | Class and Description |
|---|---|
class |
AdapterRunnableToRunnableWithParameter<PARAMTYPE>
A helper class that converts a
Runnable into an
IThrowingRunnableWithParameter. |
| Modifier and Type | Method and Description |
|---|---|
INonThrowingRunnableWithParameter<PARAMTYPE> |
AdapterRunnableToCallableWithParameter.getRunnable() |
| Modifier and Type | Method and Description |
|---|---|
static <PARAMTYPE> |
AdapterRunnableToCallableWithParameter.createAdapter(INonThrowingRunnableWithParameter<PARAMTYPE> aRunnable)
Create a callable that always returns
null. |
static <DATATYPE,PARAMTYPE> |
AdapterRunnableToCallableWithParameter.createAdapter(INonThrowingRunnableWithParameter<PARAMTYPE> aRunnable,
DATATYPE aResult)
Create a callable that always returns the passed value.
|
| Constructor and Description |
|---|
AdapterRunnableToCallableWithParameter(INonThrowingRunnableWithParameter<PARAMTYPE> aRunnable) |
AdapterRunnableToCallableWithParameter(INonThrowingRunnableWithParameter<PARAMTYPE> aRunnable,
DATATYPE aResult) |
| Modifier and Type | Method and Description |
|---|---|
void |
IScope.runAtomic(INonThrowingRunnableWithParameter<IScope> aRunnable)
Perform stuff as a single action.
|
void |
AbstractMapBasedScope.runAtomic(INonThrowingRunnableWithParameter<IScope> aRunnable) |
Copyright © 2014–2016 Philip Helger. All rights reserved.