protected static class BaseRedSynchronizer.Results extends Object
Modifier and Type | Method and Description |
---|---|
<T> T |
result(int index,
Class<T> tClass)
Returns the matching precondition result.
|
public <T> T result(int index, Class<T> tClass)
T
- the type of the resultindex
- the zero-based index of the precondition to return the value oftClass
- the type of the resultIllegalArgumentException
- in case the given class does not fit the type
of the matching precondition, or the given index is out of boundsCopyright © 2017. All rights reserved.