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

Enrich the operators #7

Open
Jason3S opened this issue Jun 14, 2017 · 1 comment
Open

Enrich the operators #7

Jason3S opened this issue Jun 14, 2017 · 1 comment

Comments

@Jason3S
Copy link
Collaborator

Jason3S commented Jun 14, 2017

Some more operators are useful.

  • .sortBy(predicate)
  • .sort(comparison function)
  • toSet()
  • etc.

See Kotlin's collections:
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/index.html

@Jason3S
Copy link
Collaborator Author

Jason3S commented Jun 14, 2017

@sea1jxr Kotlin did a nice job of defining many of the operators in their collections.

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

No branches or pull requests

1 participant