org.eclipse.emf.cdo.common.revision
Class CDORevisionUtil.CDORevisionComparator

java.lang.Object
  extended by org.eclipse.emf.cdo.common.revision.CDORevisionUtil.CDORevisionComparator
All Implemented Interfaces:
Comparator<CDORevisionKey>
Enclosing class:
CDORevisionUtil

public static class CDORevisionUtil.CDORevisionComparator
extends Object
implements Comparator<CDORevisionKey>

Compares revision keys by ID and version.

Since:
4.0

Constructor Summary
CDORevisionUtil.CDORevisionComparator()
           
 
Method Summary
 int compare(CDORevisionKey rev1, CDORevisionKey rev2)
           
 
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
 

Constructor Detail

CDORevisionUtil.CDORevisionComparator

public CDORevisionUtil.CDORevisionComparator()
Method Detail

compare

public int compare(CDORevisionKey rev1,
                   CDORevisionKey rev2)
Specified by:
compare in interface Comparator<CDORevisionKey>


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.