gr.uoa.di.madgik.commons.infra.nodeselection.ru
Class TimestampComparator

java.lang.Object
  extended by gr.uoa.di.madgik.commons.infra.nodeselection.ru.TimestampComparator
All Implemented Interfaces:
Comparator

public class TimestampComparator
extends Object
implements Comparator


Constructor Summary
TimestampComparator(Map<String,Long> base, boolean ascending)
           
 
Method Summary
 int compare(Object o1, Object 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
 

Constructor Detail

TimestampComparator

public TimestampComparator(Map<String,Long> base,
                           boolean ascending)
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright © 2012. All Rights Reserved.