Class DateObj<T>

  • All Implemented Interfaces:
    DateHolder
    Direct Known Subclasses:
    Ping

    public class DateObj<T>
    extends java.lang.Object
    implements DateHolder
    Object that has a value tied to a date.
    • Constructor Summary

      Constructors 
      Constructor Description
      DateObj​(long date, T value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getDate()
      Get the date the object holds.
      T getValue()  
      • Methods inherited from class java.lang.Object

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

      • DateObj

        public DateObj​(long date,
                       T value)
    • Method Detail

      • getDate

        public long getDate()
        Description copied from interface: DateHolder
        Get the date the object holds.
        Specified by:
        getDate in interface DateHolder
        Returns:
        Epoch ms - milliseconds passed since January 1st 1970.
      • getValue

        public T getValue()