Class ZomboidAbstractMap.SimpleEntry

java.lang.Object
zombie.core.Collections.ZomboidAbstractMap.SimpleEntry
All Implemented Interfaces:
java.io.Serializable, java.util.Map.Entry
Enclosing class:
ZomboidAbstractMap

public static class ZomboidAbstractMap.SimpleEntry
extends java.lang.Object
implements java.util.Map.Entry, java.io.Serializable
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    SimpleEntry​(java.lang.Object object, java.lang.Object object2)  
    SimpleEntry​(java.util.Map.Entry entry)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object object)  
    java.lang.Object getKey()  
    java.lang.Object getValue()  
    int hashCode()  
    java.lang.Object setValue​(java.lang.Object object)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SimpleEntry

      public SimpleEntry​(java.lang.Object object, java.lang.Object object2)
    • SimpleEntry

      public SimpleEntry​(java.util.Map.Entry entry)
  • Method Details

    • getKey

      public java.lang.Object getKey()
      Specified by:
      getKey in interface java.util.Map.Entry
    • getValue

      public java.lang.Object getValue()
      Specified by:
      getValue in interface java.util.Map.Entry
    • setValue

      public java.lang.Object setValue​(java.lang.Object object)
      Specified by:
      setValue in interface java.util.Map.Entry
    • equals

      public boolean equals​(java.lang.Object object)
      Specified by:
      equals in interface java.util.Map.Entry
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface java.util.Map.Entry
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object