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?
I have a Collection and need to get the Nth element as returned by
Share
Guava’s
Iterators.getcan help