Comparator Cutter is an Applet that generates custom Java code to
implement Comparable/Comparator. The Applet lets you provide a few facts
about the Comparable or Comparator you want and the ComparatorCutter
generates you well-commented Java source code to include in your own
It ask you the name of the Comparator class, the name of the class of
objects you are comparing, the names and types of the fields to
sort/compare the objects, and whether you want ascending/descending order
for each field. If you want code that will handle null sort keys, tick
off null safe.
You can also run the Applet online at the mindprod site without installing
Why the striped triangle icon? It is supposed to represent items sorted
in descending order. Each bar is a litter shorter than the previous.
Win2000, WinXP, Win7 x32, Win7 x64, Windows 8, Windows 10, WinServer, WinOther, Windows2000, Windows2003, Windows Server 2000, Windows Server 2003, Windows Server 2008, Windows Server 2008r2, Windows Server 2012, Windows Tablet PC Edition 2005, Windows Media Center Edition 2005, WinVista, Windows Vista Starter, Windows Vista Home Basic, Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate, WinVista x64, Windows Vista Home Basic x64, Windows Vista Home Premium x64, Windows Vista Business x64, Windows Vista Enterprise x64, Windows Vista Ultimate x64
Canadian Mind Products