org.apache.bcel.util

## Class ClassSet

- java.lang.Object
- - org.apache.bcel.util.ClassSet

-     public class ClassSet
      extends Object

  Utility class implementing a (type-safe) set of JavaClass objects. Since JavaClass has no equals() method, the name of the class is used for comparison.
  See Also:
    `ClassStack`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassSet()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `add(JavaClass clazz)`
    `boolean` | `empty()`
    `String[]` | `getClassNames()`
    `void` | `remove(JavaClass clazz)`
    `JavaClass[]` | `toArray()`

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

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

- - ### Constructor Detail

    - #### ClassSet

          public ClassSet()

  - ### Method Detail

    - #### add

          public boolean add(JavaClass clazz)

    - #### empty

          public boolean empty()

    - #### getClassNames

          public String[] getClassNames()

    - #### remove

          public void remove(JavaClass clazz)

    - #### toArray

          public JavaClass[] toArray()

Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.