Class BaseCompilationContext.Cache<A,B>

java.lang.Object
eu.bandm.tools.lljava.live.BaseCompilationContext.Cache<A,B>
Enclosing class:
BaseCompilationContext<C extends CompilationContext<C>>

protected static class BaseCompilationContext.Cache<A,B> extends Object
  • Constructor Details

    • Cache

      public Cache(Supplier<? extends A> newInstance)
  • Method Details

    • lookup

      public B lookup(A key)
    • fresh

      public A fresh(Function<? super A,? extends B> inst)