Class LazySupplier<T>

java.lang.Object
com.github.weisj.jsvg.util.supplier.LazySupplier<T>
All Implemented Interfaces:
Supplier<T>

public final class LazySupplier<T> extends Object implements Supplier<T>
  • Field Details

    • supplier

      @NotNull private final @NotNull Supplier<@NotNull T> supplier
    • t

      private T t
  • Constructor Details

    • LazySupplier

      public LazySupplier(@NotNull @NotNull Supplier<@NotNull T> supplier)
  • Method Details

    • get

      @NotNull public T get()
      Specified by:
      get in interface Supplier<T>