public class Entry<K extends java.io.Serializable,V extends java.io.Serializable>
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Entry(K key,
V value)
Constructor for a Entry.
|
Modifier and Type | Method and Description |
---|---|
static <A extends java.io.Serializable,B extends java.io.Serializable> |
create(A a,
B b)
Convenience method for creating an appropriately typed entry.
|
int |
hashCode()
Compute a hash code using the hash codes of the underlying objects
|
public final K extends java.io.Serializable key
public final V extends java.io.Serializable value
public int hashCode()
hashCode
in class java.lang.Object
public static <A extends java.io.Serializable,B extends java.io.Serializable> Entry<A,B> create(A a, B b)
a
- the key object in the entryb
- the value object in the entry