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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.apache.bcel.util.ClassQueue
All Implemented Interfaces:
java.io.Serializable

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

Utility class implementing a (typesafe) queue of JavaClass objects.

Version:
$Id: ClassQueue.java 386056 2006-03-15 11:31:56Z tcurdt $

Field Summary
protected  java.util.LinkedList vec
           
 
Constructor Summary
ClassQueue()
           
 
Method Summary
 org.apache.bcel.classfile.JavaClass dequeue()
           
 boolean empty()
           
 void enqueue(org.apache.bcel.classfile.JavaClass clazz)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vec

protected java.util.LinkedList vec
Constructor Detail

ClassQueue

public ClassQueue()
Method Detail

enqueue

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

dequeue

public org.apache.bcel.classfile.JavaClass dequeue()

empty

public boolean empty()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).