Java library to get Nth element from a Collection or Iterable
java
Solution
Guava's `Iterators.get` can help
Advances iterator position + 1 times, returning the element at the positionth position.
Problem
I have a `Collection` and need to get the Nth element as returned by its `Iterator`. I know I can iterate while counting through its `Iterator` elements. Is there a third party library (Google Guava or Apache Commons) that does this?