org.apache.bcel.util

## 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 and Description
    --- | ---
    `protected LinkedList<JavaClass>` | `vec` Deprecated. (since 6.0) will be made private; do not access

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassQueue()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JavaClass` | `dequeue()`
    `boolean` | `empty()`
    `void` | `enqueue(JavaClass clazz)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### vec

          @Deprecated
          protected LinkedList<JavaClass> vec

      Deprecated. (since 6.0) will be made private; do not access

  - ### Constructor Detail

    - #### ClassQueue

          public ClassQueue()

  - ### Method Detail

    - #### dequeue

          public JavaClass dequeue()

    - #### empty

          public boolean empty()

    - #### enqueue

          public void enqueue(JavaClass clazz)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.