Package com.github.tommyettinger.ds
Class EnumLongMap.Entry
java.lang.Object
com.github.tommyettinger.ds.EnumLongMap.Entry
- Enclosing class:
- EnumLongMap
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
-
value
public long value
-
-
Constructor Details
-
Entry
public Entry() -
Entry
-
Entry
-
-
Method Details
-
toString
-
getKey
-
getValue
public long getValue() -
setValue
public long setValue(long value) Sets the value of this Entry, but does not write through to the containing EnumLongMap.- Parameters:
value- the new long value to use- Returns:
- the old value this held, before modification
-
equals
-
hashCode
public int hashCode()
-