Constructor and Description |
---|
CircularPriorityQueue(int maxSize,
Comparator<? super SLK> skipListComparator,
Function<V,SLK> skipListKeyFunction,
Function<V,K> mapKeyFunction) |
Modifier and Type | Method and Description |
---|---|
void |
add(V element) |
void |
addPriorityKey(V element) |
Optional<V> |
getByKey(K key) |
boolean |
isEmpty() |
Map<K,V> |
keyMap() |
boolean |
remove(V element) |
void |
removePriorityKey(V element) |
void |
setMaxSize(int maxSize) |
int |
size() |
Stream<V> |
stream() |
List<V> |
toSortedList() |
Copyright © 2022. All rights reserved.