Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.vrspace.neurogrid
Class UriDescComparator  view UriDescComparator download UriDescComparator.java

java.lang.Object
  extended byorg.vrspace.neurogrid.UriDescComparator
All Implemented Interfaces:
java.util.Comparator

public class UriDescComparator
extends java.lang.Object
implements java.util.Comparator


Constructor Summary
UriDescComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares two Uri Descriptions as strings, sort order: uri, owner
 boolean equals(java.lang.Object obj)
          Return true if the object is equal to this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UriDescComparator

public UriDescComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compares two Uri Descriptions as strings, sort order: uri, owner

Specified by:
compare in interface java.util.Comparator

equals

public boolean equals(java.lang.Object obj)
Description copied from interface: java.util.Comparator
Return true if the object is equal to this object. To be considered equal, the argument object must satisfy the constraints of Object.equals(), be a Comparator, and impose the same ordering as this Comparator. The default implementation inherited from Object is usually adequate.

Specified by:
equals in interface java.util.Comparator