Class DefaultValueUnboxer

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultValueUnboxer

        public DefaultValueUnboxer()
    • Method Detail

      • unbox

        public java.lang.Object unbox​(java.lang.Object object)
        Description copied from interface: ValueUnboxer
        Unboxes 'object' if it is boxed in an Optional like type that this unboxer can handle. Otherwise returns its input unmodified
        Specified by:
        unbox in interface ValueUnboxer
        Parameters:
        object - to unbox
        Returns:
        unboxed object, or original if cannot unbox
      • unboxValue

        public static java.lang.Object unboxValue​(java.lang.Object result)