Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.bcel.util
Class ClassSet  view ClassSet download ClassSet.java

java.lang.Object
  extended byorg.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 386056 2006-03-15 11:31:56Z tcurdt $

Field Summary
private  java.util.Map _map
           
 
Constructor Summary
ClassSet()
           
 
Method Summary
 boolean add(org.apache.bcel.classfile.JavaClass clazz)
           
 boolean empty()
           
 java.lang.String[] getClassNames()
           
 void remove(org.apache.bcel.classfile.JavaClass clazz)
           
 org.apache.bcel.classfile.JavaClass[] toArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_map

private java.util.Map _map
Constructor Detail

ClassSet

public ClassSet()
Method Detail

add

public boolean add(org.apache.bcel.classfile.JavaClass clazz)

remove

public void remove(org.apache.bcel.classfile.JavaClass clazz)

empty

public boolean empty()

toArray

public org.apache.bcel.classfile.JavaClass[] toArray()

getClassNames

public java.lang.String[] getClassNames()