Package deltix.data.stream.pq
Class RegularBucketQueue<T>
- java.lang.Object
-
- deltix.data.stream.pq.RegularBucketQueue<T>
-
@ParametersAreNonnullByDefault public class RegularBucketQueue<T> extends java.lang.Object
Similar toBucketQueue
but with customizable bucket size.RegularBucketQueue
with bucketSize=1 should behave likeBucketQueue
.
-
-
Constructor Summary
Constructors Constructor Description RegularBucketQueue(int bucketCount, long bucketSize, boolean ascending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
boolean
isMixedKeysDetected()
void
offer(T obj, long key)
T
poll()
boolean
remove(T obj)
-