static class ProfilerImpl.SurpriseQueue extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
count |
(package private) Deque<Double> |
deque |
(package private) PriorityQueue<Double> |
priorityQueue |
private int |
size |
private int |
warmUpCount |
| Constructor and Description |
|---|
SurpriseQueue(int warmUpCount,
int size) |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
isValid() |
(package private) boolean |
offer(double d) |
String |
toString() |
private final int warmUpCount
private final int size
int count
final PriorityQueue<Double> priorityQueue
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.