Class ItemInfoCache.Entry<T extends ItemInfo>

  • Type Parameters:
    T - Either a NodeInfo or a PropertyInfo.
    Enclosing interface:
    ItemInfoCache

    public static class ItemInfoCache.Entry<T extends ItemInfo>
    extends java.lang.Object
    This class represents a cache entry.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(T info, long generation)
      Create a new cache entry containing info with a given generation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object that)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • generation

        public final long generation
        The generation
    • Constructor Detail

      • Entry

        public Entry​(T info,
                     long generation)
        Create a new cache entry containing info with a given generation.
        Parameters:
        info -
        generation -
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object