org.cesecore.util.AsStringComparator Maven / Gradle / Ivy
/*************************************************************************
* *
* CESeCore: CE Security Core *
* *
* This software is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public *
* License as published by the Free Software Foundation; either *
* version 2.1 of the License, or any later version. *
* *
* See terms of license at gnu.org. *
* *
*************************************************************************/
package org.cesecore.util;
import java.io.Serializable;
import java.util.Comparator;
/**
* Compares objects with their string representation, by calling String.valueOf(x) on the compared objects.
* @version $Id: AsStringComparator.java 28178 2018-02-02 12:37:55Z samuellb $
*/
public final class AsStringComparator implements Comparator