Comparator Cutter

A Java-based applet that can generate code snippets for the Comparator interface and help you sort fields in ascending or descending order.

  • Comparator Cutter
  • Version :2.1 Build 9628
  • License :Freeware
  • OS :Windows All
  • Publisher :Canadian Mind Products

Download Now

Comparator Cutter Description

A Java Comparator is a comparison function that can be used to order or sort objects in your code, as well as passed to methods or employed to control data structures and their respective order. To save time, the constructs using this interface can be generated automatically, with the help of a dedicated application.

Quickly generate Comparator code

Comparator Cutter is a Java-based software utility that enables you to generate Comparator code in a few easy steps, without having to manually write it every time it needs to be reused throughout your projects. Hence, the application can help you save time and improve the overall efficiency, as well as deliver quality code with devoid of any bugs or errors.

The utility can generate Comparable and Comparator code bits, both nested and top-level. In addition, you can manually specify the object class name and add personal comments to be displayed before the actual code. You can also make the results compatible with almost any Java version, starting from 1.1, all the way to 1.8.

Add the desired field types and their values

Once you have decided upon the object class and the desired Java version compatibility, you can start personalizing the field types and enter the values, as well as choose the sorting direction for every field. They can also be moved up and down throughout the list by using the available arrows and you can press the “Generate” button when you are satisfied with the entered data.

The generated results are provided in code form and they can be directly pasted into your application, since they can be created with or without generics. Hence, the object is ready to use as soon as you finish personalizing the output, together with your own object class name and comments regarding its functionality.

Java Comparator objects made easy

Although the generated code snippets are not very long, they can be difficult to write, especially if you have to create multiple instances throughout your projects. In addition, the cozy interface allows you to easily personalize each created objects, as well as add your own notes and values to the output code.

Leave a Reply

Your email address will not be published.