com.neeve.rog.log
Class RogLogUtil.AlwaysEqualComparator<T>

java.lang.Object
  extended by com.neeve.rog.log.RogLogUtil.AlwaysEqualComparator<T>
All Implemented Interfaces:
Comparator<T>
Enclosing class:
RogLogUtil

public static class RogLogUtil.AlwaysEqualComparator<T>
extends Object
implements Comparator<T>

A comparator that always considers 2 objects equal.


Constructor Summary
RogLogUtil.AlwaysEqualComparator()
           
 
Method Summary
 int compare(T o1, T o2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

RogLogUtil.AlwaysEqualComparator

public RogLogUtil.AlwaysEqualComparator()
Method Detail

compare

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


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.