org.hibernate.envers.test.entities
Class StrTestEntityComparator

java.lang.Object
  extended by org.hibernate.envers.test.entities.StrTestEntityComparator
All Implemented Interfaces:
Comparator<StrTestEntity>

public class StrTestEntityComparator
extends Object
implements Comparator<StrTestEntity>


Field Summary
static StrTestEntityComparator INSTANCE
           
 
Constructor Summary
StrTestEntityComparator()
           
 
Method Summary
 int compare(StrTestEntity o1, StrTestEntity o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

INSTANCE

public static final StrTestEntityComparator INSTANCE
Constructor Detail

StrTestEntityComparator

public StrTestEntityComparator()
Method Detail

compare

public int compare(StrTestEntity o1,
                   StrTestEntity o2)
Specified by:
compare in interface Comparator<StrTestEntity>


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.