当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
PackageComparator (NetBeans VCS API) - NetBeans API Javadoc 4.1.0
org.netbeans.modules.vcscore.ui
Class PackageComparator
java.lang.Object
org.netbeans.modules.vcscore.ui.PackageComparator
- All Implemented Interfaces:
- Comparator, TableInfoComparator
- public class PackageComparator
- extends Object
- implements TableInfoComparator
a comparator for use in TableInfoModel instances.
It expects to get FileObjects as value to compare/display.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageComparator
public PackageComparator()
- Creates new Package Comparator
compare
public int compare(Object obj,
Object obj1)
- Specified by:
compare
in interface Comparator
getDisplayValue
public String getDisplayValue(Object obj,
Object rowObject)
- Specified by:
getDisplayValue
in interface TableInfoComparator