T
- the type of mime types that may be compared by this comparatorpublic static class MimeType.SpecificityComparator<T extends MimeType> extends Object implements Comparator<T>
MimeTypes
in order of specificity.Constructor and Description |
---|
SpecificityComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T mimeType1,
T mimeType2) |
protected int |
compareParameters(T mimeType1,
T mimeType2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong