# Class ClassQueue

java.lang.Object
org.apache.bcel.util.ClassQueue

public class ClassQueue extends Object
Utility class implementing a (typesafe) queue of JavaClass objects.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected LinkedList<JavaClass>`
  `vec`
  Deprecated.
  (since 6.0) will be made private; do not access

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClassQueue()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `JavaClass`
  `dequeue()`
  `boolean`
  `empty()`
  `void`
  `enqueue(JavaClass clazz)`
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Field Details

  - ### vec

    @Deprecated protected LinkedList<JavaClass> vec
    Deprecated.
    (since 6.0) will be made private; do not access

- ## Constructor Details

  - ### ClassQueue

    public ClassQueue()

- ## Method Details

  - ### dequeue

    public JavaClass dequeue()

  - ### empty

    public boolean empty()

  - ### enqueue

    public void enqueue(JavaClass clazz)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`