class BoundedPriorityQueue {

    public Optional<E> poll()
    {
        return deduct( queue.poll() );
    }

      BoundedPriorityQueue( Config config, Function<E,Long> sizeOf, java.util.Comparator<E> comparator );

}