public class MappedSomeLicense extends Object implements MappedLicense
| Constructor and Description |
|---|
MappedSomeLicense(LicenseID licenseID,
String reason) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOver(MappedSomeLicense other) |
MappedSomeLicense |
addReason(String more) |
boolean |
equals(Object o) |
String |
getReason() |
int |
hashCode() |
void |
ifPresent(de.pfabulist.roast.functiontypes.Consumer_<LicenseID> con) |
boolean |
isPresent() |
Optional<LicenseID> |
noReason() |
<U> U |
orElse(Function<LicenseID,U> f,
U els) |
LicenseID |
orElseThrow(de.pfabulist.roast.functiontypes.Supplier_<Exception> ex) |
String |
toString() |
public boolean isPresent()
isPresent in interface MappedLicensepublic LicenseID orElseThrow(de.pfabulist.roast.functiontypes.Supplier_<Exception> ex)
orElseThrow in interface MappedLicensepublic void ifPresent(de.pfabulist.roast.functiontypes.Consumer_<LicenseID> con)
ifPresent in interface MappedLicensepublic MappedSomeLicense addReason(String more)
addReason in interface MappedLicensepublic String getReason()
getReason in interface MappedLicensepublic Optional<LicenseID> noReason()
noReason in interface MappedLicensepublic void addOver(MappedSomeLicense other)
Copyright © 2017. All rights reserved.