We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
getOrNull
map.get(key) returns an Optional<Value>.
map.get(key)
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.
@Nullable
Optional
Option
map.getOrNull(key) should return @Nullable Value.
map.getOrNull(key)
@Nullable Value
The text was updated successfully, but these errors were encountered:
No branches or pull requests
map.get(key)
returns anOptional<Value>
.Another
getOrNull
API annotated with@Nullable
is required for cases where we do not want to createOptional
instances in Java orOption
in Scala.map.getOrNull(key)
should return@Nullable Value
.The text was updated successfully, but these errors were encountered: