TUM CCSM Commons

edu.tum.cs.commons.equals
Interface IEquator<T>


public interface IEquator<T>

Compares two elements for equality.

This interface externalizes the notion of equality. This way, different notions of equality can be applied to the same object in different contexts.

Version:
$Revision: 26283 $
Author:
Elmar Juergens, $Author: juergens $
Rating:
GREEN Hash: 3B8AE0E21829588480F73AD24647C588

Method Summary
 boolean equals(T element1, T element2)
          Returns true, if the elements are equal, false if not.
 

Method Detail

equals

boolean equals(T element1,
               T element2)
Returns true, if the elements are equal, false if not.


TUM CCSM Commons

TUM CCSM Commons - 2.7