Package ghidra.program.model.listing
Class BookmarkComparator
java.lang.Object
ghidra.program.model.listing.BookmarkComparator
- All Implemented Interfaces:
Comparator<Bookmark>
Provides an ordering for bookmarks.
-
Constructor Summary
-
Method Summary
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
-
BookmarkComparator
public BookmarkComparator()
-
-
Method Details
-
compare
Comparator for bookmarks.- Specified by:
compare
in interfaceComparator<Bookmark>
- Parameters:
bm1
- first bookmarkbm2
- second bookmark- Returns:
- a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
-