```
def peek: T = nextElem.getOrElse(throw new NoSuchElementException())
```