# 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
  Description
  `ClassSet()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `add(JavaClass clazz)`
  `boolean`
  `empty()`
  `String[]`
  `getClassNames()`
  `void`
  `remove(JavaClass clazz)`
  `JavaClass[]`
  `toArray()`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### ClassSet

    public ClassSet()

- ## Method Details

  - ### add

    public boolean add(JavaClass clazz)

  - ### empty

    public boolean empty()

  - ### getClassNames

    public String[] getClassNames()

  - ### remove

    public void remove(JavaClass clazz)

  - ### toArray

    public JavaClass[] toArray()