public interface HeadsCoin<R> extends Coin<R>
Base interface for a heads coin, something the returns a success with a value.
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isHeads()
Tests if the coin is heads (positive return).
|
getReturn, hasErrorReports, hasInfoReports, hasWarningReports, isError, isSuccess, isTails, reportsErrors, reportsInfo, reportsWarningsCopyright © 2016–2017. All rights reserved.