Skip to content

Add a Collection option #1879

Description

@deluxe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions