public interface HeadsSuccess<R> extends HeadsCoin<R>
A heads (success) coin with a value.
| Modifier and Type | Method and Description |
|---|---|
static <R> HeadsSuccess<R> |
create(R value)
Creates a new success coin with given value.
|
getReturn, hasErrorReports, hasInfoReports, hasWarningReports, isError, isSuccess, isTails, reportsErrors, reportsInfo, reportsWarningsstatic <R> HeadsSuccess<R> create(R value)
Creates a new success coin with given value.
R - type of the return valuevalue - the actual return valueCopyright © 2016–2017. All rights reserved.