Class ExpensiveResource<T>

java.lang.Object
nz.org.riskscape.engine.function.ExpensiveResource<T>
All Implemented Interfaces:
Supplier<T>

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

    • ExpensiveResource

      public ExpensiveResource(nz.org.riskscape.problem.ProblemSink logTo, String operationName, Supplier<T> supplier)
  • Method Details

    • get

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