Class Accessors.Cache<K,V>

java.lang.Object
org.immutables.generator.processor.Accessors.Cache<K,V>
Enclosing class:
Accessors

@NotThreadSafe private abstract static class Accessors.Cache<K,V> extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Map<K,V>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) final V
    get(K key)
     
    protected abstract V
    load(K key)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • map

      private final Map<K,V> map
  • Constructor Details

    • Cache

      private Cache()
  • Method Details