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

Methods should support vararg predicates #34

Open
dgroup opened this issue Mar 11, 2021 · 3 comments
Open

Methods should support vararg predicates #34

dgroup opened this issue Mar 11, 2021 · 3 comments

Comments

@dgroup
Copy link
Owner

dgroup commented Mar 11, 2021

public boolean any(Predicate<T> first, Predicate<T> ... other);
public boolean all(Predicate<T> first, Predicate<T> ... other);
public Enumerable<T> select(Predicate<T> first, Predicate<T> ... other);
@dykov
Copy link
Contributor

dykov commented May 17, 2021

Should these methods return boolean or Enumerable<T> ?

@dgroup
Copy link
Owner Author

dgroup commented May 18, 2021

Boolean.

@dykov
Copy link
Contributor

dykov commented May 23, 2021

@dgroup, please check if we need vararg support for other methods?

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