Package com.iizigo.swt
Class ViewerElementComparer
java.lang.Object
com.iizigo.swt.ViewerElementComparer
- All Implemented Interfaces:
IElementComparer
Compares resources and properties for the viewers.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Constructor Details
ViewerElementComparer
public ViewerElementComparer()
Method Details
equals
Compares two elements for equality- Specified by:
equals
in interfaceIElementComparer
- Parameters:
a
- the first elementb
- the second element- Returns:
- Whether a is equal to b.
hashCode
Returns the hash code for the given element.- Specified by:
hashCode
in interfaceIElementComparer
- Parameters:
element
- The element the hash code is calculated for.- Returns:
- The hash code for the given element.