@NotThreadSafe public class ComparatorMimeTypeInfoPrimaryMimeType extends AbstractPartComparatorComparable<MimeTypeInfo,String>
| Constructor and Description |
|---|
ComparatorMimeTypeInfoPrimaryMimeType()
Comparator with default sort order and no nested comparator.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPart(MimeTypeInfo aObject)
Implement this method to extract the part to compare from the original
object.
|
mainComparecompare, getNestedComparator, getSortOrder, isNullValuesComeFirst, setNestedComparator, setNullValuesComeFirst, setSortOrder, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic ComparatorMimeTypeInfoPrimaryMimeType()
@Nonnull protected String getPart(@Nonnull MimeTypeInfo aObject)
AbstractPartComparatorComparablegetPart in class AbstractPartComparatorComparable<MimeTypeInfo,String>aObject - The object to be compared. Never null.null.Copyright © 2014–2015 Philip Helger. All rights reserved.