Class StaticBucketMap.Node
- java.lang.Object
-
- org.apache.commons.collections.map.StaticBucketMap.Node
-
- All Implemented Interfaces:
java.util.Map.Entry,KeyValue
- Enclosing class:
- StaticBucketMap
private static final class StaticBucketMap.Node extends java.lang.Object implements java.util.Map.Entry, KeyValue
The Map.Entry for the StaticBucketMap.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Objectkeyprotected StaticBucketMap.Nodenextprotected java.lang.Objectvalue
-
Constructor Summary
Constructors Modifier Constructor Description privateNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.ObjectgetKey()Gets the key from the pair.java.lang.ObjectgetValue()Gets the value from the pair.inthashCode()java.lang.ObjectsetValue(java.lang.Object obj)
-
-
-
Field Detail
-
key
protected java.lang.Object key
-
value
protected java.lang.Object value
-
next
protected StaticBucketMap.Node next
-
-
Method Detail
-
getKey
public java.lang.Object getKey()
Description copied from interface:KeyValueGets the key from the pair.
-
getValue
public java.lang.Object getValue()
Description copied from interface:KeyValueGets the value from the pair.
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacejava.util.Map.Entry- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacejava.util.Map.Entry- Overrides:
equalsin classjava.lang.Object
-
setValue
public java.lang.Object setValue(java.lang.Object obj)
- Specified by:
setValuein interfacejava.util.Map.Entry
-
-