presto-main/src/main/java/io/prestosql/operator/aggregation/TypedKeyValueHeap.java/TypedKeyValueHeap/remove
class TypedKeyValueHeap:    private void remove()
    {
        positionCount--;
        heapIndex[0] = heapIndex[positionCount];
        siftDown();
    }