org.eclipse.jdt.ui
public class JavaElementComparator extends ViewerComparator
This class may be instantiated; it is not intended to be subclassed.
| Constructor and Description |
|---|
JavaElementComparator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
category(Object element) |
int |
compare(Viewer viewer,
Object e1,
Object e2) |
getComparator, isSorterProperty, sortpublic int category(Object element)
category in class ViewerComparatorpublic int compare(Viewer viewer, Object e1, Object e2)
compare in class ViewerComparatorGuidelines for using Eclipse APIs. Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.