All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.purej.vminspect.data.ThreadDataComparator Maven / Gradle / Ivy

Go to download

An easy to use, feature-rich, JMX-based and embeddable Java VM monitoring tool with a web-based user-interface

There is a newer version: 2.1.1
Show newest version
// 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