Class ApplicationConfig.CacheItem<T>

java.lang.Object
org.nuiton.config.ApplicationConfig.CacheItem<T>
Type Parameters:
T - type of item
Enclosing class:
ApplicationConfig

protected static class ApplicationConfig.CacheItem<T>
extends java.lang.Object
Item used for cacheOption
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int hash
    hash of string representation
    T item
    typed option value
  • Constructor Summary

    Constructors 
    Constructor Description
    CacheItem​(T item, int hash)  
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • item

      public T item
      typed option value
    • hash

      public int hash
      hash of string representation
  • Constructor Details