ahc.collection.equality
Class IdentityEqualityStrategy

java.lang.Object
  |
  +--ahc.collection.equality.IdentityEqualityStrategy
All Implemented Interfaces:
EqualityStrategy

public class IdentityEqualityStrategy
extends java.lang.Object
implements EqualityStrategy

Author:
Arno Haase

Constructor Summary
IdentityEqualityStrategy()
           
 
Method Summary
 boolean equals(java.lang.Object o1, java.lang.Object o2)
           
 int hashCode(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityEqualityStrategy

public IdentityEqualityStrategy()
Method Detail

equals

public boolean equals(java.lang.Object o1,
                      java.lang.Object o2)
Specified by:
equals in interface EqualityStrategy

hashCode

public int hashCode(java.lang.Object o)
Specified by:
hashCode in interface EqualityStrategy