@NotThreadSafe public class ComparatorThreadName extends AbstractPartComparatorComparable<Thread,String>
Comparator for ordering Thread objects by their
name.| Constructor and Description |
|---|
ComparatorThreadName() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPart(Thread aThread)
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 Thread aThread)
AbstractPartComparatorComparablegetPart in class AbstractPartComparatorComparable<Thread,String>aThread - The object to be compared. Never null.null.Copyright © 2014–2015 Philip Helger. All rights reserved.