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 Summary

    Modifier and Type
    Method
    Description
    Build the initialization value.
  • Method Details

    • 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.