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

Implement getOrNull #354

Open
simerplaha opened this issue Jan 1, 2022 · 0 comments
Open

Implement getOrNull #354

simerplaha opened this issue Jan 1, 2022 · 0 comments
Labels
feature java For Java API usability Tasks that improve usability

Comments

@simerplaha
Copy link
Owner

map.get(key) returns an Optional<Value>.

Another getOrNull API annotated with @Nullable is required for cases where we do not want to create Optional instances in Java or Option in Scala.

map.getOrNull(key) should return @Nullable Value.

@simerplaha simerplaha added usability Tasks that improve usability feature java For Java API labels Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature java For Java API usability Tasks that improve usability
Projects
None yet
Development

No branches or pull requests

1 participant