Interface SingletonMap.NewInstanceFactory<V,​E extends java.lang.Exception>

  • Type Parameters:
    V - The instance type.
    Enclosing class:
    SingletonMap<K,​V,​E extends java.lang.Exception>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface SingletonMap.NewInstanceFactory<V,​E extends java.lang.Exception>
    Create a new instance.
    • Method Detail

      • newInstance

        V newInstance()
               throws E extends java.lang.Exception,
                      java.lang.InterruptedException
        Create a new instance.
        Returns:
        The new instance.
        Throws:
        E extends java.lang.Exception
        java.lang.InterruptedException