Package ghidra.program.model.listing
Class BookmarkTypeComparator
- java.lang.Object
-
- ghidra.program.model.listing.BookmarkTypeComparator
-
- All Implemented Interfaces:
java.util.Comparator<BookmarkType>
public class BookmarkTypeComparator extends java.lang.Object implements java.util.Comparator<BookmarkType>
Provides an ordering for bookmark types.
-
-
Constructor Summary
Constructors Constructor Description BookmarkTypeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(BookmarkType bt1, BookmarkType bt2)
Comparator for bookmark types.
-
-
-
Method Detail
-
compare
public int compare(BookmarkType bt1, BookmarkType bt2)
Comparator for bookmark types.- Specified by:
compare
in interfacejava.util.Comparator<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.
-
-