| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface proscribes utility methods for working with objects in collections.
In general, implementations should be stateless.
| Method Summary | |
 boolean | 
equals(java.lang.Object ob1,
       java.lang.Object ob2)
If ob1 and ob2 should be equal in this Collection, return true.  | 
 int | 
hashCode(java.lang.Object ob)
Return a hash code for ob.  | 
 boolean | 
valueEquals(java.lang.Object ob1,
            java.lang.Object ob2)
If ob1 and ob2 should be equal values in this Map, return true.  | 
| Method Detail | 
public boolean equals(java.lang.Object ob1,
                      java.lang.Object ob2)
This method should be reflexive: equals(a,a) should always be true.
This method should be symmetric: equals(a,b) should be the same as equals(b,a).
public int hashCode(java.lang.Object ob)
If equals(a,b) then hashCode(a) should equal hashCode(b).
public boolean valueEquals(java.lang.Object ob1,
                           java.lang.Object ob2)
This method should be reflexive: equalsValue(a,a) should always be true.
This method should be symmetric: equalsValue(a,b) should be the same as equalsValue(b,a).
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||