Package ghidra.program.model.address

# Class AddressCollectors

java.lang.Object
ghidra.program.model.address.AddressCollectors

public class AddressCollectors extends Object
Utilities for using addresses and ranges in streams

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AddressCollectors()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Collector<AddressRange,AddressSet,AddressSet>`
  `toAddressSet()`
  Union a stream of address ranges into a single mutable address set

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

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

- ## Constructor Details

  - ### AddressCollectors

    public AddressCollectors()

- ## Method Details

  - ### toAddressSet

    public static Collector<AddressRange,AddressSet,AddressSet> toAddressSet()
    Union a stream of address ranges into a single mutable address set
    Returns:
      the address set