Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to generate just 1 / next() #29

Open
drdamour opened this issue Feb 9, 2017 · 1 comment
Open

how to generate just 1 / next() #29

drdamour opened this issue Feb 9, 2017 · 1 comment

Comments

@drdamour
Copy link

drdamour commented Feb 9, 2017

so i get iterator to iterable transition (kind of)
but I often just called Generator.next() to get 1 random thing and now i have to call iterator() before...is there a simple way to just get 1 random thing that i'm not seeing?

@Bijnagte
Copy link
Owner

Bijnagte commented Feb 9, 2017

I have not tried but I assume that groovy's first method would work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants