Interface ValueHolder.DeferredInitializer<T>

  • Type Parameters:
    T -
    Enclosing class:
    ValueHolder<T>

    public static interface ValueHolder.DeferredInitializer<T>
    The snippet that generates the initialization value.
    • Method Detail

      • initialize

        T initialize()
        Build the initialization value.

        Implementation note: returning null is "ok" but will cause this method to keep being called.

        Returns:
        The initialization value.