edu.internet2.middleware.shibboleth.wayf
Class IdPSite.Compare
java.lang.Object
edu.internet2.middleware.shibboleth.wayf.IdPSite.Compare
- All Implemented Interfaces:
- Comparator<IdPSite>
- Enclosing class:
- IdPSite
public static class IdPSite.Compare
- extends Object
- implements Comparator<IdPSite>
This allows us to set up sorted lists of entities with respect to
the browser request.
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
request
private final HttpServletRequest request
- The request.
IdPSite.Compare
private IdPSite.Compare()
- Private default Constructor. Guarantees that req is non null
IdPSite.Compare
public IdPSite.Compare(HttpServletRequest theRequest)
- Constructor.
- Parameters:
theRequest - the request which drives the comparison.
compare
public int compare(IdPSite o1,
IdPSite o2)
-
- Specified by:
compare in interface Comparator<IdPSite>
Copyright © 1999-2012. All Rights Reserved.