Class ConstantSupplier<T>

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

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

    • t

      @NotNull private final T t
  • Constructor Details

    • ConstantSupplier

      public ConstantSupplier(@NotNull T t)
  • Method Details

    • get

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