@NotThreadSafe public final class ComparatorThreadName extends AbstractCollationComparator<Thread>
Comparator for ordering Thread objects by their
name.| Constructor and Description |
|---|
ComparatorThreadName(Locale aSortLocale) |
ComparatorThreadName(Locale aSortLocale,
ESortOrder eSortOrder) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
asString(Thread aThread)
Abstract method that needs to be overridden to convert an object to a
string representation for comparison.
|
mainCompare, toStringcompare, getSortOrder, setSortOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequalspublic ComparatorThreadName(@Nullable Locale aSortLocale, @Nonnull ESortOrder eSortOrder)
protected String asString(@Nonnull Thread aThread)
AbstractCollationComparatorasString in class AbstractCollationComparator<Thread>aThread - The object to be converted. May not be null depending
on the elements to be sorted.null.Copyright © 2006–2015 phloc systems. All rights reserved.