Package ghidra.program.model.listing
Class BookmarkComparator
- java.lang.Object
-
- ghidra.program.model.listing.BookmarkComparator
-
-
Constructor Summary
Constructors Constructor Description BookmarkComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Bookmark bm1, Bookmark bm2)
Comparator for bookmarks.
-
-
-
Method Detail
-
compare
public int compare(Bookmark bm1, Bookmark bm2)
Comparator for bookmarks.- Specified by:
compare
in interfacejava.util.Comparator<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.
-
-