## Uses of Interface
org.eclipse.jface.viewers.IElementComparer

Packages that use IElementComparer
org.eclipse.jface.viewers: Provides a framework for viewers, which are model-based content adapters for SWT widgets.

### Uses of IElementComparer in org.eclipse.jface.viewers

Methods in org.eclipse.jface.viewers that return IElementComparer
`IElementComparer` StructuredViewer.`getComparer()` Returns the comparer to use for comparing elements, or `null` if none has been set.
`IElementComparer` TreeSelection.`getElementComparer()` Returns the element comparer passed in when the tree selection has been created or `null` if no comparer has been provided.

Methods in org.eclipse.jface.viewers with parameters of type IElementComparer
`boolean` TreePath.`equals​(TreePath otherPath, IElementComparer comparer)` Returns whether this path is equivalent to the given path using the specified comparer to compare individual elements.
`int` TreePath.`hashCode​(IElementComparer comparer)` Returns a hash code computed from the hash codes of the segments, using the given comparer to compute the hash codes of the segments.
`void` StructuredViewer.`setComparer​(IElementComparer comparer)` Sets the comparer to use for comparing elements, or `null` to use the default `equals` and `hashCode` methods on the elements themselves.
`boolean` TreePath.`startsWith​(TreePath treePath, IElementComparer comparer)` Returns whether this path starts with the same segments as the given path, using the given comparer to compare segments.

Constructors in org.eclipse.jface.viewers with parameters of type IElementComparer
`StructuredSelection​(List elements, IElementComparer comparer)` Creates a structured selection from the given `List` and element comparer.
`TreeSelection​(TreePath[] paths, IElementComparer comparer)` Constructs a selection based on the elements identified by the given tree paths.
`TreeSelection​(TreePath treePath, IElementComparer comparer)` Constructs a selection based on the elements identified by the given tree path.