Package ghidra.pcode.emu

# Class SparseAddressRangeMap<V>

java.lang.Object
ghidra.pcode.emu.SparseAddressRangeMap<V>

public class SparseAddressRangeMap<V> extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final long`
  `OFF_MASK`
  `static final long`
  `PAGE_BITS`
  `static final long`
  `PAGE_MASK`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SparseAddressRangeMap()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clear()`
  `boolean`
  `hasEntry(Address address, Predicate<V> predicate)`
  `boolean`
  `isEmpty()`
  `Map.Entry<AddressRange,V>`
  `put(AddressRange range, V value)`

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

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

- ## Field Details

  - ### PAGE_BITS

    public static final long PAGE_BITS
    See Also:
      - Constant Field Values

  - ### PAGE_MASK

    public static final long PAGE_MASK
    See Also:
      - Constant Field Values

  - ### OFF_MASK

    public static final long OFF_MASK
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### SparseAddressRangeMap

    public SparseAddressRangeMap()

- ## Method Details

  - ### put

    public Map.Entry<AddressRange,V> put(AddressRange range, V value)

  - ### hasEntry

    public boolean hasEntry(Address address, Predicate<V> predicate)

  - ### clear

    public void clear()

  - ### isEmpty

    public boolean isEmpty()