Class ChangeInfo<T>


  • public class ChangeInfo<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object info
      The change info, e.g.
      protected T oldvalue
      The old value.
      protected T value
      The new value.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChangeInfo​(T value, T oldvalue, java.lang.Object info)
      Create a new CollectionEntry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getInfo()
      Get the info, e.g.
      T getOldValue()
      Get the oldvalue.
      T getValue()
      Get the value.
      void setInfo​(java.lang.Object info)
      Set the info, e.g.
      void setOldValue​(T oldvalue)
      Set the oldvalue.
      void setValue​(T value)
      Set the value.
      java.lang.String toString()
      Get a string representation.
      • Methods inherited from class java.lang.Object

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

      • value

        protected T value
        The new value.
      • oldvalue

        protected T oldvalue
        The old value.
      • info

        protected java.lang.Object info
        The change info, e.g. index or key.
    • Constructor Detail

      • ChangeInfo

        public ChangeInfo​(T value,
                          T oldvalue,
                          java.lang.Object info)
        Create a new CollectionEntry.
    • Method Detail

      • getValue

        public T getValue()
        Get the value. return The value.
      • setValue

        public void setValue​(T value)
        Set the value.
        Parameters:
        value - The value to set.
      • getOldValue

        public T getOldValue()
        Get the oldvalue. return The oldvalue.
      • setOldValue

        public void setOldValue​(T oldvalue)
        Set the oldvalue.
        Parameters:
        oldvalue - The oldvalue to set.
      • getInfo

        public java.lang.Object getInfo()
        Get the info, e.g. index or key.
        Returns:
        The info.
      • setInfo

        public void setInfo​(java.lang.Object info)
        Set the info, e.g. index or key.
        Parameters:
        info - The info to set.
      • toString

        public java.lang.String toString()
        Get a string representation.
        Overrides:
        toString in class java.lang.Object