Package zombie.core.Collections
Class ZomboidAbstractMap.SimpleImmutableEntry
java.lang.Object
zombie.core.Collections.ZomboidAbstractMap.SimpleImmutableEntry
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map.Entry
- Enclosing class:
- ZomboidAbstractMap
public static class ZomboidAbstractMap.SimpleImmutableEntry
extends java.lang.Object
implements java.util.Map.Entry, java.io.Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SimpleImmutableEntry(java.lang.Object object, java.lang.Object object2)
SimpleImmutableEntry(java.util.Map.Entry entry)
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
SimpleImmutableEntry
public SimpleImmutableEntry(java.lang.Object object, java.lang.Object object2) -
SimpleImmutableEntry
public SimpleImmutableEntry(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
-