Package ghidra.features.base.memsearch.gui

# Class SearchHistory

java.lang.Object
ghidra.features.base.memsearch.gui.SearchHistory

public class SearchHistory extends Object
Class for managing memory search history. It maintains a list of previously used ByteMatchers to do memory searching. Each ByteMatcher records the input search text and the search settings used to create it.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SearchHistory(int maxHistory)`
  `SearchHistory(SearchHistory other)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addSearch(ByteMatcher matcher)`
  `ByteMatcher[]`
  `getHistoryAsArray()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SearchHistory

    public SearchHistory(int maxHistory)

  - ### SearchHistory

    public SearchHistory(SearchHistory other)

- ## Method Details

  - ### addSearch

    public void addSearch(ByteMatcher matcher)

  - ### getHistoryAsArray

    public ByteMatcher[] getHistoryAsArray()