private static class DefaultRecorderStrategy.RecorderElementEntryComparator extends java.lang.Object implements java.util.Comparator<HashMap.Entry<java.lang.String,RecorderElement>>
| Modifier | Constructor and Description |
|---|---|
private |
RecorderElementEntryComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(HashMap.Entry<java.lang.String,RecorderElement> o1,
HashMap.Entry<java.lang.String,RecorderElement> o2)
Compares two given map entries.
|
public int compare(HashMap.Entry<java.lang.String,RecorderElement> o1, HashMap.Entry<java.lang.String,RecorderElement> o2)
compare in interface java.util.Comparator<HashMap.Entry<java.lang.String,RecorderElement>>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