org.w3c.mwi.mobileok.basic
Class HTTPResourceComparator

java.lang.Object
  extended by org.w3c.mwi.mobileok.basic.HTTPResourceComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<HTTPResource>

final class HTTPResourceComparator
extends java.lang.Object
implements java.util.Comparator<HTTPResource>, java.io.Serializable

Compares HTTPResources by URI.

Version:
$Revision: 1.1 $
Author:
The W3C mobileOK Checker Task Force

Field Summary
(package private) static java.util.Comparator<HTTPResource> INSTANCE
           
 
Method Summary
 int compare(HTTPResource o1, HTTPResource 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
 

Field Detail

INSTANCE

static final java.util.Comparator<HTTPResource> INSTANCE
Method Detail

compare

public int compare(HTTPResource o1,
                   HTTPResource o2)
Specified by:
compare in interface java.util.Comparator<HTTPResource>