ClassQueue (Apache Commons BCEL 6.4.1 API)

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

    - #### enqueue

          public void enqueue(JavaClass clazz)

    - #### dequeue

          public JavaClass dequeue()

    - #### empty

          public boolean empty()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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