presto-main/src/main/java/io/prestosql/execution/resourcegroups/FifoQueue.java/FifoQueue/peek
class FifoQueue:    @Override
    public E peek()
    {
        Iterator<E> iterator = delegate.iterator();
        if (!iterator.hasNext()) {
            return null;
        }
        return iterator.next();
    }