presto-main/src/main/java/io/prestosql/operator/aggregation/TypedKeyValueHeap.java/TypedKeyValueHeap/getCapacity
class TypedKeyValueHeap:    public int getCapacity()
    {
        return capacity;
    }