/** * Removes the first element of this list. * * @return Removed element or {@code null} if list is empty. */ @Nullable public V removeFirst() { return vals.isEmpty() ? null : vals.removeFirst(); }