utilMDE
Class ArraysMDE.ObjectArrayComparatorLexical

Object
  extended by ArraysMDE.ObjectArrayComparatorLexical
All Implemented Interfaces:
Comparator<Object[]>
Enclosing class:
ArraysMDE

public static final class ArraysMDE.ObjectArrayComparatorLexical
extends Object
implements Comparator<Object[]>

Note: this comparator imposes orderings that are inconsistent with equals. That is, it may return 0 if the arrays are not equal (but do contain identical objects).


Constructor Summary
ArraysMDE.ObjectArrayComparatorLexical()
           
 
Method Summary
 int compare(Object[] a1, Object[] a2)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Comparator
equals
 

Constructor Detail

ArraysMDE.ObjectArrayComparatorLexical

public ArraysMDE.ObjectArrayComparatorLexical()
Method Detail

compare

public int compare(Object[] a1,
                   Object[] a2)
Specified by:
compare in interface Comparator<Object[]>