Class TimedHashMap.TimedEntry<T>

  • Enclosing class:
    TimedHashMap<K,​V>

    private static class TimedHashMap.TimedEntry<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long timestamp  
      private T value  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimedEntry​(T value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void updateTimestamp()  
      • Methods inherited from class java.lang.Object

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

      • value

        private final T value
      • timestamp

        private long timestamp
    • Constructor Detail

      • TimedEntry

        public TimedEntry​(T value)
    • Method Detail

      • updateTimestamp

        public void updateTimestamp()