Package ghidra.program.model.listing
Class BookmarkTypeComparator
java.lang.Object
ghidra.program.model.listing.BookmarkTypeComparator
- All Implemented Interfaces:
Comparator<BookmarkType>
Provides an ordering for bookmark types.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(BookmarkType bt1, BookmarkType bt2) Comparator for bookmark types.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
BookmarkTypeComparator
public BookmarkTypeComparator()
-
-
Method Details
-
compare
Comparator for bookmark types.- Specified by:
compare
in interfaceComparator<BookmarkType>
- Parameters:
bt1
- first bookmark typebt2
- second bookmark type- Returns:
- a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
-