base/common/src/main/com/thesett/common/util/priority/BucketedPriorityMap.java
public V pollValue()
    {
        K lowestKey = pollKey();

        if (lowestKey == null)
        {
            return null;
        }
        else
        {
            return maps[p.apply(lowestKey)].get(lowestKey);
        }
    }
public V pollValue()
    {
        K lowestKey = pollKey();

        if (lowestKey == null)
        {
            return null;
        }
        else
        {
            return maps[p.apply(lowestKey)].get(lowestKey);
        }
    }
Returns the value of the first (lowest) key currently in this priority map.

@return The value of the first (lowest) key currently in this priority map.

@throws java.util.NoSuchElementException If there are no keys in the map. This is thrown to distinguish from the
case where the first key has a null value.