package org.hibernate.envers.test.entities;

import java.util.Comparator;

public class StrTestEntityComparator implements Comparator<StrTestEntity> {
    public static final StrTestEntityComparator INSTANCE = new StrTestEntityComparator();

    public int compare(StrTestEntity o1, StrTestEntity o2) {
        return o1.getStr().compareTo(o2.getStr());
    }
}
