I use DataFaker Option.nextElement(List<E>) to get a random option from a list.
I'd like to get the same random option from a java.util.Collection.
I'd like to have a Option.nextElement(Collection<E>) available
Describe alternatives you've considered
My alternative solution is a project helper class converting the collection to a list before calling DataFaker
I use DataFaker
Option.nextElement(List<E>)to get a random option from a list.I'd like to get the same random option from a
java.util.Collection.I'd like to have a
Option.nextElement(Collection<E>) availableDescribe alternatives you've considered
My alternative solution is a project helper class converting the collection to a list before calling DataFaker