com.fatwire.gst.foundation.vwebroot
Class VirtualWebrootApiBypassDao.UrlInfoComparator

java.lang.Object
  extended by com.fatwire.gst.foundation.vwebroot.VirtualWebrootApiBypassDao.UrlInfoComparator
All Implemented Interfaces:
Comparator<VirtualWebroot>
Enclosing class:
VirtualWebrootApiBypassDao

public static class VirtualWebrootApiBypassDao.UrlInfoComparator
extends Object
implements Comparator<VirtualWebroot>

Comparator that compares virtual webroots by webroot. Uses reverse-natural ordering to ensure that overlapping virtual webroots resolve properly.


Constructor Summary
VirtualWebrootApiBypassDao.UrlInfoComparator()
           
 
Method Summary
 int compare(VirtualWebroot o1, VirtualWebroot 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
 

Constructor Detail

VirtualWebrootApiBypassDao.UrlInfoComparator

public VirtualWebrootApiBypassDao.UrlInfoComparator()
Method Detail

compare

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


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.