Package org.eclipse.mat.snapshot.model
Class ObjectComparators
java.lang.Object
org.eclipse.mat.snapshot.model.ObjectComparators
Factory of heap object comparators.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Comparator<IObject>
Compare by class specific name ascending.static Comparator<IObject>
Compare by class specific name descending.static Comparator<IObject>
Compare by retained heap size ascending.static Comparator<IObject>
Compare by retained heap size descending.static Comparator<IObject>
Compare by technical name ascending.static Comparator<IObject>
Compare by technical name descending.static Comparator<IObject>
Compare by used heap size ascending.static Comparator<IObject>
Compare by user heap size descending.
-
Constructor Details
-
ObjectComparators
public ObjectComparators()
-
-
Method Details
-
getComparatorForTechnicalNameAscending
Compare by technical name ascending.- Returns:
- the comparator
-
getComparatorForTechnicalNameDescending
Compare by technical name descending.- Returns:
- the comparator
-
getComparatorForClassSpecificNameAscending
Compare by class specific name ascending.- Returns:
- the comparator
-
getComparatorForClassSpecificNameDescending
Compare by class specific name descending.- Returns:
- the comparator
-
getComparatorForUsedHeapSizeAscending
Compare by used heap size ascending.- Returns:
- the comparator
-
getComparatorForUsedHeapSizeDescending
Compare by user heap size descending.- Returns:
- the comparator
-
getComparatorForRetainedHeapSizeAscending
Compare by retained heap size ascending.- Returns:
- the comparator
-
getComparatorForRetainedHeapSizeDescending
Compare by retained heap size descending.- Returns:
- the comparator
-