org.apache.bcel.util

## Class ClassSet

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

-     public class ClassSet
      extends Object

  Utility class implementing a (typesafe) set of JavaClass objects. Since JavaClass has no equals() method, the name of the class is used for comparison.
  Version:
    $Id$
  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)

    - #### remove

          public void remove(JavaClass clazz)

    - #### empty

          public boolean empty()

    - #### toArray

          public JavaClass[] toArray()

    - #### getClassNames

          public String[] getClassNames()

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