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

com.yammer.breakerbox.azure.model.DependencyModelByTimestamp Maven / Gradle / Ivy

package com.yammer.breakerbox.azure.model;

import com.yammer.breakerbox.store.model.DependencyModel;

import java.io.Serializable;
import java.util.Comparator;

public class DependencyModelByTimestamp implements Comparator, Serializable {
    private static final long serialVersionUID = 1917549011233211454L;
    @Override
    public int compare(DependencyModel o1, DependencyModel o2) {
        return o1.getDateTime().compareTo(o2.getDateTime());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy