
jidefx.utils.comparator.CharSequenceComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jidefx-comparators Show documentation
Show all versions of jidefx-comparators Show documentation
JideFX Common Layer is a collection of several extend feature for JavaFX
The newest version!
/*
* @(#)CharSequenceComparator.java 5/19/2013
*
* Copyright 2002 - 2013 JIDE Software Inc. All rights reserved.
*/
package jidefx.utils.comparator;
import java.io.Serializable;
import java.util.Comparator;
/**
* A Comparator that compares CharSequence objects (including String and StringBuffer as both extend CharSequence.
* Throws ClassCastExceptions if the objects are not CharSequence, or if they are null. If both objects are null, they
* will be treated as equal. If one is null and the other is not, the null value will be treated as smaller then
* non-null value.
*/
public class CharSequenceComparator implements Comparator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy