Package zombie.core.Collections
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
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 interfacejava.util.Map.Entry
-
getValue
public java.lang.Object getValue()- Specified by:
getValue
in interfacejava.util.Map.Entry
-
setValue
public java.lang.Object setValue(java.lang.Object object)- Specified by:
setValue
in interfacejava.util.Map.Entry
-
equals
public boolean equals(java.lang.Object object)- Specified by:
equals
in interfacejava.util.Map.Entry
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacejava.util.Map.Entry
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-