@StorableClass public class HashMapEntryComparator<K,V> extends Object implements IEqualsHashComparator, Serializable
Modifier | Constructor and Description |
---|---|
protected |
HashMapEntryComparator(IEqualsHashComparator keyComparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object1,
Object object2)
check equality of two objects
|
int |
hashCodeOf(Object object)
compute hash code of object
|
static HashMapEntryComparator |
newInstance(IInstanceFactory instanceFactory,
IEqualsHashComparator keyComparator) |
protected HashMapEntryComparator(IEqualsHashComparator keyComparator)
public static HashMapEntryComparator newInstance(IInstanceFactory instanceFactory, IEqualsHashComparator keyComparator)
public boolean equals(Object object1, Object object2)
IEqualsHashComparator
equals
in interface IEqualsHashComparator
public int hashCodeOf(Object object)
IEqualsHashComparator
hashCodeOf
in interface IEqualsHashComparator
object
- the object which for hash code have to be computeCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.