Page Summary
-
RecaptchaOptionalObject is a class for wrapping an optional object to be used in VerificationResult.
-
It provides the
ofNullablemethod to wrap an object, which can be null. -
The
orNullmethod is used to retrieve the wrapped object.
Class for wrapping an optional object (i.e., an immutable object that may contain a
non-null reference to another object) to be used in VerificationResult.
Public Method Summary
| static <T> RecaptchaOptionalObject<T> |
ofNullable(T object)
Returns a
RecaptchaOptionalObject wrapping the specified object, which can be
null.
|
| T |
orNull()
Returns the wrapped object.
|
Inherited Method Summary
Public Methods
public static RecaptchaOptionalObject<T> ofNullable (T object)
Returns a RecaptchaOptionalObject
wrapping the specified object, which can be null.
public T orNull ()
Returns the wrapped object.