accrue.analysis.interprocanalysis

## Class AnalysisContextMap<T>

- java.lang.Object
- - accrue.analysis.interprocanalysis.AnalysisContextMap<T>

- Type Parameters:
    `T` -

      public class AnalysisContextMap<T>
      extends java.lang.Object

  A utility class that is used to help record analysis results for AST nodes. An AnalysisContextMap maps analysis contexts to analysis results of type T.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AnalysisContextMap()`
    `AnalysisContextMap(java.lang.Class<? extends AnalysisContext> analysisContextClass)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<AnalysisContext>` | `contexts()`
    `T` | `get(AnalysisContext context)`
    `void` | `put(AnalysisContext context, T v)`
    `T` | `remove(AnalysisContext context)`

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

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

- - ### Constructor Detail

    - #### AnalysisContextMap

          public AnalysisContextMap(java.lang.Class<? extends AnalysisContext> analysisContextClass)

    - #### AnalysisContextMap

          public AnalysisContextMap()

  - ### Method Detail

    - #### put

          public void put(AnalysisContext context,
                 T v)

    - #### remove

          public T remove(AnalysisContext context)

    - #### get

          public T get(AnalysisContext context)

    - #### contexts

          public java.util.Set<AnalysisContext> contexts()