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 SummaryConstructors
- Method Summary
- Constructor Details- ViewerElementComparerpublic ViewerElementComparer()
 
- Method Details- equalsCompares two elements for equality- Specified by:
- equalsin interface- IElementComparer
- Parameters:
- a- the first element
- b- the second element
- Returns:
- Whether a is equal to b.
 
- hashCodeReturns the hash code for the given element.- Specified by:
- hashCodein interface- IElementComparer
- Parameters:
- element- The element the hash code is calculated for.
- Returns:
- The hash code for the given element.