Package org.apache.commons.collections
Class StaticBucketMap.Node
- java.lang.Object
-
- org.apache.commons.collections.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.Object
key
protected StaticBucketMap.Node
next
protected java.lang.Object
value
-
Constructor Summary
Constructors Modifier Constructor Description private
Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Object
getKey()
Gets the key from the pair.java.lang.Object
getValue()
Gets the value from the pair.int
hashCode()
java.lang.Object
setValue(java.lang.Object val)
-
-
-
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:KeyValue
Gets the key from the pair.
-
getValue
public java.lang.Object getValue()
Description copied from interface:KeyValue
Gets the value from the pair.
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Map.Entry
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.util.Map.Entry
- Overrides:
equals
in classjava.lang.Object
-
setValue
public java.lang.Object setValue(java.lang.Object val)
- Specified by:
setValue
in interfacejava.util.Map.Entry
-
-