Update FloatPriorityQueue.java
This commit is contained in:
parent
b754302914
commit
203ab6c10e
@ -80,7 +80,7 @@ public class FloatPriorityQueue<T> implements Queue<T> {
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
assert contentValues.isEmpty();
|
||||
assert contentValues.size() == internalQueue.size();
|
||||
return internalQueue.isEmpty();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user