@PublicApi public class DefaultValueUnboxer extends java.lang.Object implements ValueUnboxer
ValueUnboxer
DEFAULT
Constructor and Description |
---|
DefaultValueUnboxer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
unbox(java.lang.Object object)
Unboxes 'object' if it is boxed in an
Optional like
type that this unboxer can handle. |
static java.lang.Object |
unboxValue(java.lang.Object result) |
public java.lang.Object unbox(java.lang.Object object)
ValueUnboxer
Optional
like
type that this unboxer can handle. Otherwise returns its input
unmodifiedunbox
in interface ValueUnboxer
object
- to unboxpublic static java.lang.Object unboxValue(java.lang.Object result)