Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

Add OptionalX#of for nullable value #99

Closed
alexengrig opened this issue Mar 20, 2020 · 0 comments
Closed

Add OptionalX#of for nullable value #99

alexengrig opened this issue Mar 20, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@alexengrig
Copy link
Owner

Optional<T> of(T value) {
  return Optional.ofNullable(value);
}
@alexengrig alexengrig added the enhancement New feature or request label Mar 20, 2020
@alexengrig alexengrig self-assigned this Mar 20, 2020
@alexengrig alexengrig added this to the v0.4.0 milestone Mar 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant