Package ghidra.util.database.spatial

# Class AbstractConstraintsTreeSpatialMap.ToListConsumer<A,T,U extends A>

java.lang.Object
ghidra.util.database.spatial.AbstractConstraintsTreeSpatialMap.ToListConsumer<A,T,U>

All Implemented Interfaces:
  `Consumer<T>`

Enclosing class:
  `AbstractConstraintsTreeSpatialMap<DS extends BoundedShape<NS>,DR extends DBTreeDataRecord<DS,NS,T>,NS extends BoundingShape<NS>,T,Q extends Query<DS,NS>>`

protected abstract static class AbstractConstraintsTreeSpatialMap.ToListConsumer<A,T,U extends A> extends Object implements Consumer<T>

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final List<A>`
  `list`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ToListConsumer(List<A> list)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `accept(T t)`
  `protected abstract U`
  `transformed(T t)`

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

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

  ### Methods inherited from interface java.util.function.Consumer

  `andThen`

- ## Field Details

  - ### list

    protected final List<A> list

- ## Constructor Details

  - ### ToListConsumer

    public ToListConsumer(List<A> list)

- ## Method Details

  - ### accept

    public void accept(T t)
    Specified by:
      `accept` in interface `Consumer<A>`

  - ### transformed

    protected abstract U transformed(T t)