Class ListKey


  • public class ListKey
    extends java.lang.Object
    An object which identifies each item of a CollaborationList.
    Author:
    Vaadin Ltd
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.util.UUID getKey()
      Gets the unique value of this key.
      int hashCode()  
      static ListKey of​(java.util.UUID key)
      Creates the ListKey for the provided key parameter.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getKey

        public java.util.UUID getKey()
        Gets the unique value of this key.
        Returns:
        the unique value of this key, not null
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public static ListKey of​(java.util.UUID key)
        Creates the ListKey for the provided key parameter.
        Parameters:
        key - the key
        Returns:
        the ListKey, or null if key was null