private static class DefaultRecorderStrategy.ThreadDataMapElementComparator extends java.lang.Object implements java.util.Comparator<LongHashMap.MapElement<ThreadData>>
| Modifier | Constructor and Description |
|---|---|
private |
ThreadDataMapElementComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(LongHashMap.MapElement<ThreadData> o1,
LongHashMap.MapElement<ThreadData> o2)
Compares two given map entries.
|
public int compare(LongHashMap.MapElement<ThreadData> o1, LongHashMap.MapElement<ThreadData> o2)
compare in interface java.util.Comparator<LongHashMap.MapElement<ThreadData>>o1 - the first entry to be comparedo2 - the second entry-1 if o1 is considered as smaller
than o2, 0 if both are considered equal.
1 otherways