Class ObjectUtils.MemoizingSupplier<T>

java.lang.Object
io.fluxcapacitor.common.ObjectUtils.MemoizingSupplier<T>
All Implemented Interfaces:
Supplier<T>
Enclosing class:
ObjectUtils

public static class ObjectUtils.MemoizingSupplier<T>
extends Object
implements Supplier<T>
  • Constructor Details

    • MemoizingSupplier

      public MemoizingSupplier​(Supplier<T> delegate)
  • Method Details

    • get

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

      public boolean isCached()