org.apache.poi.openxml4j.util

## Class Nullable<E>

- java.lang.Object
- - org.apache.poi.openxml4j.util.Nullable<E>

- Deprecated.
  No longer used in POI code base, use `Optional` instead

      @Removal(version="4.2")
       @Deprecated
      public final class Nullable<E>
      extends java.lang.Object

  An immutable object that could be defined as null.
  Version:
    0.9
  Author:
    Julien Chable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Nullable()` Deprecated. Constructor.
    `Nullable(E value)` Deprecated. Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `E` | `getValue()` Deprecated. Get the store value if any.
    `boolean` | `hasValue()` Deprecated. Get the status of this nullable.
    `void` | `nullify()` Deprecated. Set the stored value to null.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Nullable

          public Nullable()

      Deprecated.
      Constructor.

    - #### Nullable

          public Nullable(E value)

      Deprecated.
      Constructor.
      Parameters:
        `value` - The value to set to this nullable.

  - ### Method Detail

    - #### getValue

          public E getValue()

      Deprecated.
      Get the store value if any.
      Returns:
        the store value

    - #### hasValue

          public boolean hasValue()

      Deprecated.
      Get the status of this nullable.
      Returns:
        true if the nullable store a value (empty string is considered to be a value) else false.

    - #### nullify

          public void nullify()

      Deprecated.
      Set the stored value to null.

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.