org.apache.tapestry5.internal.plastic

## Class Cache<S,T>

- java.lang.Object
- - org.apache.tapestry5.internal.plastic.Cache<S,T>

- Type Parameters:
    `S` -
    `T` -

      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 Summary

    Constructors
    Constructor and Description
    `Cache()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract T` | `convert(S input)`
    `T` | `get(S input)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Cache

          public Cache()

  - ### Method Detail

    - #### get

          public T get(S input)

    - #### convert

          protected abstract T convert(S input)

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.