Class Timestamped<T>


  • public class Timestamped<T>
    extends java.lang.Object
    Timestamped value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Timestamped​(T value, org.onosproject.store.LogicalTimestamp timestamp)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.onosproject.store.LogicalTimestamp timestamp()
      Returns the timestamp.
      T value()
      Returns the value.
      • Methods inherited from class java.lang.Object

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

      • Timestamped

        public Timestamped​(T value,
                           org.onosproject.store.LogicalTimestamp timestamp)
    • Method Detail

      • value

        public T value()
        Returns the value.
        Returns:
        the value
      • timestamp

        public org.onosproject.store.LogicalTimestamp timestamp()
        Returns the timestamp.
        Returns:
        the timestamp