Class BookieId


  • public final class BookieId
    extends java.lang.Object
    This is an identifier for a BookieID.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getId()  
      int hashCode()  
      static BookieId parse​(java.lang.String serialized)
      Parses the given serialized representation of a BookieId.
      java.lang.String toString()
      Returns the serialized version of this object.
      • Methods inherited from class java.lang.Object

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

      • toString

        public java.lang.String toString()
        Returns the serialized version of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        the bookieId
      • parse

        public static BookieId parse​(java.lang.String serialized)
        Parses the given serialized representation of a BookieId.
        Parameters:
        serialized -
        Returns:
        the parsed BookieId
      • getId

        public java.lang.String getId()
      • hashCode

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

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