Class Singletons

java.lang.Object
ecmwf.common.technical.Singletons

public final class Singletons extends Object
The Class Singletons.
  • Method Details

    • save

      public static void save(Object object)
      Save.
      Parameters:
      object - the object
    • save

      public static void save(Class<?> clazz, Object object)
      Save.
      Parameters:
      clazz - the clazz
      object - the object
    • get

      public static <T> T get(Class<T> clazz)
      Gets the.
      Type Parameters:
      T - the generic type
      Parameters:
      clazz - the clazz
      Returns:
      the t
    • get

      public static <T> T get(Class<?> name, Class<T> clazz)
      Gets the.
      Type Parameters:
      T - the generic type
      Parameters:
      name - the name
      clazz - the clazz
      Returns:
      the t