Package org.dellroad.msrp
Class MsrpUriComparator
- java.lang.Object
 - 
- org.dellroad.msrp.MsrpUriComparator
 
 
- 
- All Implemented Interfaces:
 Comparator<MsrpUri>
public final class MsrpUriComparator extends Object implements Comparator<MsrpUri>
Compares MRSP URI's for equality according to RFC 4579, Section 6.1. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static MsrpUriComparatorINSTANCE 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(MsrpUri msrp1, MsrpUri msrp2)- 
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong 
 - 
 
 - 
 
- 
- 
Field Detail
- 
INSTANCE
public static final MsrpUriComparator INSTANCE
 
 - 
 
- 
Method Detail
- 
compare
public int compare(MsrpUri msrp1, MsrpUri msrp2)
- Specified by:
 comparein interfaceComparator<MsrpUri>
 
 - 
 
 -