sam.entry
Class NameFilter.Comparator

java.lang.Object
  |
  +--sam.entry.NameFilter.Comparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
NameFilter

protected class NameFilter.Comparator
extends java.lang.Object
implements java.util.Comparator

Basic derivation of an order.

a < b if a specifies b, a > b if b specifies a, and a = b (in the sense that compare(a,b) returns 0) otherwise (even if this especially means that a and b differ).


Constructor Summary
protected NameFilter.Comparator()
           
 
Method Summary
 int compare(java.lang.Object a, java.lang.Object b)
           
 
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

NameFilter.Comparator

protected NameFilter.Comparator()
Method Detail

compare

public int compare(java.lang.Object a,
                   java.lang.Object b)
Specified by:
compare in interface java.util.Comparator