Class WeakShared<T>

java.lang.Object
com.github.weisj.darklaf.util.value.WeakShared<T>

public class WeakShared<T> extends Object
  • Constructor Details

    • WeakShared

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

    • create

      @NotNull protected T create()
    • get

      @NotNull public T get()
    • getIfPresent

      public T getIfPresent()