Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.bcel.util
Class ClassSet

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

All Implemented Interfaces:
  java.io.Serializable

public class ClassSet
extends java.lang.Object
implements java.io.Serializable

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: ClassSet.java,v 1.2 2003/02/13 11:18:23 enver Exp $
Author:
  M. Dahm
See Also:
  `ClassStack`, Serialized Form

Constructor Summary
`ClassSet()`

Method Summary
`boolean` | `add(JavaClass clazz)`
`boolean` | `empty()`
`java.lang.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 java.lang.String[] getClassNames()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2003 Apache Software Foundation. All Rights Reserved.