org.apache.commons.compress.harmony.unpack200.bytecode

## Class ClassConstantPool

- java.lang.Object
- - org.apache.commons.compress.harmony.unpack200.bytecode.ClassConstantPool

-     public class ClassConstantPool
      extends Object

  The Class constant pool

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected HashSet` | `entriesContainsSet`
    `protected Map` | `indexCache`
    `protected HashSet` | `othersContainsSet`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassConstantPool()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClassFileEntry` | `add(ClassFileEntry entry)`
    `void` | `addNestedEntries()`
    `ClassFileEntry` | `addWithNestedEntries(ClassFileEntry entry)`
    `List` | `entries()`
    `ClassFileEntry` | `get(int i)`
    `int` | `indexOf(ClassFileEntry entry)`
    `void` | `resolve(Segment segment)`
    `int` | `size()`
    `protected void` | `sortClassPool()`

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

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

- - ### Field Detail

    - #### entriesContainsSet

          protected HashSet entriesContainsSet

    - #### othersContainsSet

          protected HashSet othersContainsSet

    - #### indexCache

          protected Map indexCache

  - ### Constructor Detail

    - #### ClassConstantPool

          public ClassConstantPool()

  - ### Method Detail

    - #### add

          public ClassFileEntry add(ClassFileEntry entry)

    - #### addNestedEntries

          public void addNestedEntries()

    - #### indexOf

          public int indexOf(ClassFileEntry entry)

    - #### size

          public int size()

    - #### get

          public ClassFileEntry get(int i)

    - #### resolve

          public void resolve(Segment segment)

    - #### entries

          public List entries()

    - #### sortClassPool

          protected void sortClassPool()

    - #### addWithNestedEntries

          public ClassFileEntry addWithNestedEntries(ClassFileEntry entry)

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.