Package gamedata

Class ConversionMap.Entry

    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(java.lang.String id)
      Creates a new entry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getId()
      Returns the identifier for the entry.
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • Entry

        public Entry​(java.lang.String id)
        Creates a new entry.
        Parameters:
        id - the identifier for the entry
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the identifier for the entry. Is the group identifier for ConversionMap.Group and the entry key for ConversionMap.Conversion. Only guaranteed to be unique within a conversion group.
        Returns:
        the entry identifier
      • 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