Package ghidra.util.search.trie
Class SearchResult<P,T>
java.lang.Object
ghidra.util.search.trie.SearchResult<P,T>
- Type Parameters:
P
- the position typeT
- the client item type
A search result container class used with ByteTrie.
-
Method Details
-
getNode
Returns the (terminal) node that was encountered in the search- Returns:
- the node
-
getPosition
Returns the position at which the byte sequence was found. Currently ByteTrie will use Integer for search byte arrays, and Address for searching Memory in a Program.- Returns:
- the position at which the byte sequence was found
-
getItem
Returns the user item stored in this terminal node at add time.- Returns:
- the user item
-
toString
-