Static
absentsimple match, if the first order function call returns true then there is a match, if the value is not present it never matches
the first order function performing the match
elvis like typesafe functional save resolver a typesafe option for getIfPresent
usage myOptional.resolve(value => value.subAttr.subAttr2).orElseLazy(....) if this is resolvable without any errors an Optional with the value is returned if not, then an Optional absent is returned, also if you return Optional absent it is flatmapped into absent
the resolver function, can throw any arbitrary errors, int the error case the resolution goes towards absent
Static
fromGenerated using TypeDoc
ValueEmbedder is the writeable version of optional, it basically is a wrapper around a construct which has a state and can be written to.
For the readonly version see Optional