Class Lazy<T>

java.lang.Object
eu.bandm.tools.util.java.Lazy<T>
All Implemented Interfaces:
Supplier<T>

public class Lazy<T> extends Object implements Supplier<T>
  • Constructor Details

    • Lazy

      public Lazy(Supplier<? extends T> init)
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface Supplier<T>
    • isInitialized

      public boolean isInitialized()