Package org.springframework.util
Class MimeType.SpecificityComparator<T extends MimeType>
java.lang.Object
org.springframework.util.MimeType.SpecificityComparator<T>
- Type Parameters:
T
- the type of mime types that may be compared by this comparator
- All Implemented Interfaces:
Comparator<T>
- Enclosing class:
- MimeType
@Deprecated
public static class MimeType.SpecificityComparator<T extends MimeType>
extends Object
implements Comparator<T>
Deprecated.
As of 6.0, with no direct replacement
Comparator to sort
MimeTypes
in order of specificity.-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
SpecificityComparator
public SpecificityComparator()Deprecated.
-
-
Method Details
-
compare
Deprecated.- Specified by:
compare
in interfaceComparator<T extends MimeType>
-
compareParameters
Deprecated.
-