com.purej.vminspect.data.ThreadDataComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of purej-vminspect Show documentation
Show all versions of purej-vminspect Show documentation
An easy to use, feature-rich, JMX-based and embeddable Java VM monitoring tool with a web-based user-interface
// Copyright (c), 2013, adopus consulting GmbH Switzerland, all rights reserved.
package com.purej.vminspect.data;
import java.util.Comparator;
import com.purej.vminspect.util.Utils;
/**
* Comparator to sort {@link ThreadData} objects based on name.
*
* @author Stefan Mueller
*/
public final class ThreadDataComparator implements Comparator {
@Override
public int compare(ThreadData o1, ThreadData o2) {
return Utils.compareTo(o1.getName(), o2.getName());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy