@NotThreadSafe public class ComparatorFileName extends AbstractPartComparatorComparable<File,String>
| Constructor and Description |
|---|
ComparatorFileName() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPart(File 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, waitequalsprotected String getPart(@Nonnull File aObject)
AbstractPartComparatorComparablegetPart in class AbstractPartComparatorComparable<File,String>aObject - The object to be compared. Never null.null.Copyright © 2014–2015 Philip Helger. All rights reserved.