Class Cache<S,​T>

  • Type Parameters:
    S - key type
    T - value type

    public abstract class Cache<S,​T>
    extends Object
    Quick and dirty key/value cache that is subclassed to provide the logic that generates the value for a missing key.
    • Constructor Detail

    • Method Detail

      • get

        public T get​(S input)
      • convert

        protected abstract T convert​(S input)