@InterfaceAudience.Private public class FairQueue<T extends Comparable<T>> extends Object
Modifier and Type | Field and Description |
---|---|
private Queue<T> |
queueHead |
private int |
size |
Constructor and Description |
---|
FairQueue() |
Modifier and Type | Method and Description |
---|---|
void |
add(Queue<T> queue) |
boolean |
hasRunnables() |
Queue<T> |
poll() |
void |
remove(Queue<T> queue) |
public FairQueue()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.